-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cli): rest emitter should override config and env variables #4622
fix(cli): rest emitter should override config and env variables #4622
Conversation
Lint might fail for Tableau source which is unrelated to this change. Already fixed in separate PR #4621 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems somewhat sketchy to re-write environment variables in this way-- i could imagine it being very confusing debugging and seeing ENV variables read as different values than what my terminal prints out. Can we put this logic instead into the helper function that gets host & token?
@gabe-lyons Putting that other way around would make the utils depend on the rest emitter which seems wrong to me. I'll see how I can change it somehow to remove the debugging confusion. |
…hub-project#4622) * fix(cli): rest emitter should override env variables * fix(cli): change to not update env variables, small refactor * fix bug
Checklist