Skip to content
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

CLI options are overwritten #32

Closed
timonson opened this issue May 11, 2020 · 1 comment
Closed

CLI options are overwritten #32

timonson opened this issue May 11, 2020 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@timonson
Copy link

timonson commented May 11, 2020

This is caused by applyIfDefined here https://github.com/eliassjogreen/denon/blob/master/denon.ts#L51. For example it overwrites flags.deno_args with an empty array (if you don't use a config file).
I didn't make a PR because there are different logical ways to fix this and I don't know your preference.

@timonson timonson changed the title CLI options are overwritten by config CLI options are overwritten May 11, 2020
@eliassjogreen eliassjogreen added the bug Something isn't working label May 14, 2020
PabloSzx added a commit to PabloSzx/denon that referenced this issue May 16, 2020
PabloSzx added a commit to PabloSzx/denon that referenced this issue May 16, 2020
PabloSzx added a commit to PabloSzx/denon that referenced this issue May 16, 2020
PabloSzx added a commit to PabloSzx/denon that referenced this issue May 16, 2020
@notfilippo notfilippo added this to the 2.0.0 milestone May 18, 2020
@notfilippo
Copy link
Collaborator

Closing as it is already implemented in rework branch. (see 4e71708)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants