Skip to content

Fix duplicated web scripts options#362

Merged
fastfrwrd merged 2 commits intospotify:masterfrom
pmowrer:fix-duplicated-web-scripts-options
May 15, 2020
Merged

Fix duplicated web scripts options#362
fastfrwrd merged 2 commits intospotify:masterfrom
pmowrer:fix-duplicated-web-scripts-options

Conversation

@pmowrer
Copy link
Contributor

@pmowrer pmowrer commented May 15, 2020

Upgrading commander.js to 5.x resulted in unknown options being parsed twice, breaking tasks in some scenarios.

For more details: tj/commander.js#1138

pmowrer added 2 commits May 15, 2020 15:26
Upgrading `commander.js` to 5.x resulted in unknown options being parsed twice, breaking tasks in some scenarios.

For more details: tj/commander.js#1138

Fixes spotify#341
async function testScripts(
buildArgs: string[] = [],
lintArgs: string[] = [],
lintArgs: string[] = ['--ignore-path=.gitignore', '--format=checkstyle'],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added reproduction from #341 as a failing test, though I guess it's a bit random to be testing with these specific options set. Perhaps better broken out as a separate test.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is good for now - we have a separate backlog task to break this IT up into something more manageable for all of the scripts.

@fastfrwrd fastfrwrd merged commit 81123de into spotify:master May 15, 2020
@pmowrer pmowrer deleted the fix-duplicated-web-scripts-options branch May 16, 2020 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants