@sonar/scan
Version:
SonarQube/SonarCloud Scanner for the JavaScript world
8 lines (7 loc) • 356 B
TypeScript
/**
* Verify that a given executable is accessible from the PATH.
* We use where.exe on Windows to check for the existence of the command to avoid
* search path vulnerabilities. Otherwise, Windows would search the current directory
* for the executable.
*/
export declare function locateExecutableFromPath(executable: string): Promise<string | null>;