Skip to content

Commit

Permalink
Use console.error instead of console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed Mar 3, 2020
1 parent b0b181d commit 6cc043c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions x-pack/legacy/plugins/apm/scripts/optimize-tsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
const { optimizeTsConfig } = require('./optimize-tsconfig/optimize');

optimizeTsConfig().catch(err => {
// eslint-disable-next-line no-console
console.log(err);
console.error(err);
process.exit(1);
});
3 changes: 1 addition & 2 deletions x-pack/legacy/plugins/apm/scripts/unoptimize-tsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
const { unoptimizeTsConfig } = require('./optimize-tsconfig/unoptimize');

unoptimizeTsConfig().catch(err => {
// eslint-disable-next-line no-console
console.log(err);
console.error(err);
process.exit(1);
});

0 comments on commit 6cc043c

Please sign in to comment.