UNPKG

@sonar/scan

Version:
8 lines (7 loc) 356 B
/** * 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>;