Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Commit

Permalink
Avoid es6 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand Thakker committed Feb 27, 2018
1 parent cc89f29 commit 039faa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion register.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var revert = pirates.addHook(function hook(code, filename) {
e.message = filename + ': ' + e.message;
throw e;
}
}, { exts, matcher: shouldTransform });
}, { exts: exts, matcher: shouldTransform });

function shouldTransform(filename) {
var includes = options && regexpPattern(options.includes || options.include);
Expand Down

0 comments on commit 039faa9

Please sign in to comment.