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

Fix duplicated web scripts options #362

Merged
merged 2 commits into from May 15, 2020

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

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
@@ -200,7 +200,7 @@ describe('integration tests', () => {

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.

None yet

2 participants