Skip to content

Commit

Permalink
fix(options): trim extensions
Browse files Browse the repository at this point in the history
See #122
  • Loading branch information
STRML committed Mar 5, 2021
1 parent f0f84b2 commit aea3ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel-watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const cwd = process.cwd();

const only = program.only;
const ignore = program.ignore;
const transpileExtensions = program.extensions;
const transpileExtensions = program.extensions.map((ext) => ext.trim());
const debug = Boolean(program.debug || program.debugBrk || program.inspect || program.inspectBrk)

const mainModule = program.args[0];
Expand Down

0 comments on commit aea3ff2

Please sign in to comment.