Skip to content

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
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

} 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

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