Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return await findUp(dir => {
return (!FsUtils.isSameDirectory(topLevelFolder, dir) && !FsUtils.isSubDirectory(topLevelFolder, dir)) ? findUp.stop : mvnw;
}, options);
}