Prettier: Upgrade to 2 (#30387)
* Updated package json but not updated source files * Update eslint plugin * updated files
This commit is contained in:
@@ -23,7 +23,7 @@ const cypress = (commandName, { updateScreenshots }) => {
|
||||
|
||||
return execa(resolveBin('cypress'), cypressOptions, execaOptions)
|
||||
.then(() => {}) // no return value
|
||||
.catch(error => {
|
||||
.catch((error) => {
|
||||
console.error(error.message);
|
||||
process.exitCode = 1;
|
||||
});
|
||||
@@ -37,13 +37,13 @@ module.exports = () => {
|
||||
.command('open')
|
||||
.description('runs tests within the interactive GUI')
|
||||
.option(updateOption, updateDescription)
|
||||
.action(options => cypress('open', options));
|
||||
.action((options) => cypress('open', options));
|
||||
|
||||
program
|
||||
.command('run')
|
||||
.description('runs tests from the CLI without the GUI')
|
||||
.option(updateOption, updateDescription)
|
||||
.action(options => cypress('run', options));
|
||||
.action((options) => cypress('run', options));
|
||||
|
||||
program.parse(process.argv);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user