Skip to content

Commit

Permalink
Convert in to !== undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
MrQubo committed Apr 2, 2020
1 parent 77e890f commit a38b737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalizeOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function normalizeTransformFunctionsElement(optsTransformFunction) {
}

const finalOpts = { pattern, isModulePath: true };
if ('isModulePath' in opts) {
if (opts.isModulePath !== undefined) {
finalOpts.isModulePath = opts.isModulePath;
}

Expand Down

0 comments on commit a38b737

Please sign in to comment.