Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function resolvePath() {
let args = toArr(arguments);
args.unshift(process.cwd());
return path.resolve.apply(path, args);
}