Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bendemboski committed Jan 24, 2021
1 parent 1c2b916 commit 8ab37eb
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions blueprints/ember-electron/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,17 @@ module.exports = class EmberElectronBlueprint extends Blueprint {
// `eslint --fix` manually on the files we generate
//
async fixLint() {
console.log('fixing lint');
try {
await execa.command(path.join('node_modules', '.bin', 'eslint'), [
'--fix',
'testem-electron.js',
'.eslintrc.js',
]);
await execa.command(
path.join('node_modules', '.bin', 'eslint'),
['--fix', '--debug', 'testem-electron.js', '.eslintrc.js'],
{
stdio: 'inherit',
}
);
} catch (e) {
console.log('fixing lint failed', e);
return;
}
}
Expand Down

0 comments on commit 8ab37eb

Please sign in to comment.