Skip to content
Browse files

Merge pull request #7 from node-migrator-bot/clean

Hi! I fixed some code for you!
  • Loading branch information...
2 parents 7e9ce2c + 1c3ace3 commit b83a0b10fb953591ae1c38e0b7a36d49aa83673c @marcuswestin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/util.js
View
2 lib/util.js
@@ -99,7 +99,7 @@ function _findModuleMain(absModulePath, tryFileName) {
var foundPath = ''
function attempt(aPath) {
if (foundPath) { return }
- if (path.existsSync(aPath)) { foundPath = aPath }
+ if (fs.existsSync(aPath)) { foundPath = aPath }
}
attempt(absModulePath + '.js')
try {

0 comments on commit b83a0b1

Please sign in to comment.
Something went wrong with that request. Please try again.