Closed pdehaan closed 7 years ago
TIL: Without that --self-hosted
flag, you also get this error (which took a bit of debuggery):
ERRORS:
Code Message Description File Line Column
MANIFEST_UPDATE_URL "update_url" is not allowed. "applications.gecko.update_url" is not allowed for manifest.json
Mozilla-hosted add-ons.
Got a couple errors when trying to run the addons-linter against the web-extension, and looks like one we got some dupe permissions. Possibly nothing and Firefox ignores the dupe, but seemed to choke the linter which I guess is converting the duplicate string values to some object or something unwelcome.
Steps to reproduce:
npm i addons-linter -D
./node_modules/.bin/addons-linter webextension --self-hosted
Actual results:
Diff:
After: