-
Notifications
You must be signed in to change notification settings - Fork 343
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
run.target: ["chromium"]
ignored in config
#3314
Comments
This message is emitted from Lines 121 to 124 in 958e1d4
|
Likely here: Line 583 in 64ad32f
Yargs is passing the default the same way it would pass a user-provided flag, therefore overriding any config that is found later. I'd review other such defaults in the file. If they're all ignored the same way, they should probably all be removed. Yargs' own docs/bugtracker probably detail how to deal with configuration vs flag overrides. |
Are you interested in contributing a patch? |
I have two PRs open for 5 months over in the addons-linter repo, I'm not excited about opening more |
Apologies for that. They fell through the cracks and we missed them. We regularly triage any issues and pull requests, but sometimes an issue or PR accidentally falls off the radar. To make sure that we don't miss them again, I'll put the following tickets in the agenda for the next triage meeting (in 2 weeks):
One of them is in a draft, which usually signals that a PR is not ready for review. Did you intend to keep it a draft? |
The draft is a proposal that hasn't been accepted yet |
Is this a feature request or a bug?
bug
What is the current behavior?
A plain
$ web-ext run
will read/validatewebExt.run.target
from my package.json, but then it ignores it.This verbose log line explains why: the CLI parser is providing its own defaults before merging with the config file.
What is the expected or desired behavior?
The config file should be respected by applying the defaults after reading the config file.
Version information (for bug reports)
The text was updated successfully, but these errors were encountered: