Skip to content

Commit 7d809bc

Browse files
author
Lars-Erik Roald
committed
lint
1 parent 033dc4e commit 7d809bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ function findClosestPackageJson(startDir) {
114114
function findClosestNodeModules(startPath) {
115115
const startDir = fs.statSync(startPath).isDirectory() ? startPath : path.dirname(startPath);
116116
let currentDir = startDir;
117+
// eslint-disable-next-line no-constant-condition
117118
while (true) {
118119
const nodeModulesPath = path.join(currentDir, 'node_modules');
119120
if (fs.existsSync(nodeModulesPath))

0 commit comments

Comments
 (0)