Skip to content

Commit 8531000

Browse files
Lyrkanweaverryan
authored andcommitted
Clean up the public API file and improve a few other things
1 parent 6e1b371 commit 8531000

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+600
-402
lines changed

bin/encore.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
const parseRuntime = require('../lib/config/parse-runtime');
1414
const context = require('../lib/context');
15-
const chalk = require('chalk');
15+
const chalk = require('chalk').default;
1616
const logger = require('../lib/logger');
1717

1818
const runtimeConfig = parseRuntime(
@@ -40,7 +40,7 @@ if (!runtimeConfig.isValidCommand) {
4040
}
4141
showUsageInstructions();
4242

43-
process.exit(1);
43+
process.exit(1); // eslint-disable-line no-process-exit
4444
}
4545

4646
if (runtimeConfig.helpRequested) {

0 commit comments

Comments
 (0)