Skip to content

Commit

Permalink
Don't unnecessarily break things for older versions of node
Browse files Browse the repository at this point in the history
  • Loading branch information
gkz committed May 7, 2020
1 parent 13bf806 commit 48355d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const jscodeshift = require('./core');
let presetEnv;
try {
presetEnv = require('@babel/preset-env');
} catch {}
} catch (_) {}

let emitter;
let finish;
Expand Down

0 comments on commit 48355d9

Please sign in to comment.