How to use the find-up.stop function in find-up

To help you get started, we’ve selected a few find-up examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github redhat-developer / vscode-quarkus / src / utils / mavenUtils.ts View on Github external
return await findUp(dir => {
      return (!FsUtils.isSameDirectory(topLevelFolder, dir) && !FsUtils.isSubDirectory(topLevelFolder, dir)) ? findUp.stop : mvnw;
    }, options);
  }

find-up

Find a file or directory by walking up parent directories

MIT
Latest version published 8 months ago

Package Health Score

80 / 100
Full package analysis