Skip to content

Commit

Permalink
fix: Fix regExps.find undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
tleunen authored Mar 29, 2017
1 parent 1d77c06 commit 2171200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getRealPath.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default function getRealPath(sourcePath, currentFile, opts) {

const { cwd, extensions, pluginOpts } = opts;
const rootDirs = pluginOpts.root || [];
const regExps = pluginOpts.regExps;
const regExps = pluginOpts.regExps || [];
const alias = pluginOpts.alias || {};

const sourceFileFromRoot = getRealPathFromRootConfig(
Expand Down

0 comments on commit 2171200

Please sign in to comment.