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

Remove deprecated --compact CLI flag #293

Merged
merged 5 commits into from
Feb 13, 2018
Merged

Remove deprecated --compact CLI flag #293

merged 5 commits into from
Feb 13, 2018

Conversation

wuweiweiwu
Copy link
Contributor

@sindresorhus
Copy link
Member

There's also a test using this option in test/main.js.

@sindresorhus
Copy link
Member

And can you update the PR title to be more specific about what's being fixed.

@wuweiweiwu
Copy link
Contributor Author

Will do!

@wuweiweiwu wuweiweiwu changed the title Doing the TODO's in the comments. Removing compact reporter option Feb 13, 2018
@sindresorhus sindresorhus changed the title Removing compact reporter option Remove deprecated --compact CLI flag Feb 13, 2018
test/main.js Outdated
@@ -7,7 +7,8 @@ import tempWrite from 'temp-write';

process.chdir(__dirname);

const main = (args, opts) => execa(path.join(__dirname, '../main.js'), args, opts);
const main = (args, opts) =>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops. My prettier accidentally prettified this line. I can remove if needed

test/main.js Outdated
} catch (err) {
t.true(err.stdout.indexOf('Error - ') !== -1);
}
});
Copy link
Member

Choose a reason for hiding this comment

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

Sorry, I misread this code. It should not be removed. It's not using the compact option.

test/main.js Outdated
@@ -7,7 +7,8 @@ import tempWrite from 'temp-write';

process.chdir(__dirname);

const main = (args, opts) => execa(path.join(__dirname, '../main.js'), args, opts);
const main = (args, opts) =>
execa(path.join(__dirname, '../main.js'), args, opts);
Copy link
Member

Choose a reason for hiding this comment

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

Don't do unrelated changes.

@sindresorhus sindresorhus merged commit 652a6e5 into xojs:master Feb 13, 2018
@sindresorhus
Copy link
Member

Great, thank you :)

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