Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
larowlan committed Sep 18, 2024
1 parent 12f9633 commit 4cf5fb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ const resolveFile = (directory, file) => {
for (const ix in filesToTry) {
const path = resolve(filesToTry[ix])
if (existsSync(path)) {
return normalizePath(path);
return normalizePath(path)
}
const withDir = resolve(directory, filesToTry[ix])
if (existsSync(withDir)) {
return normalizePath(withDir);
return normalizePath(withDir)
}
}

Expand Down

0 comments on commit 4cf5fb6

Please sign in to comment.