Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Sep 24, 2019
1 parent 65f5656 commit 273c86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const resolveModule = module => {

const relativeToPath = resolveFrom.silent(relativeNodeModulesPath, module)
debug(` - ${module} at ${relativeNodeModulesPath}${!!relativeToPath}`)
if (relativeToProcess) return relativeToPath
if (relativeToPath) return relativeToPath

return undefined
}
Expand Down

0 comments on commit 273c86c

Please sign in to comment.