MCPcopy Index your code
hub / github.com/coder/mux / parseWhereOutput

Function parseWhereOutput

src/node/utils/main/bashPath.ts:31–36  ·  view source on GitHub ↗
(output: string)

Source from the content-addressed store, hash-verified

29const defaultExecSync: ExecSyncFn = (command, options) => execSync(command, options);
30
31function parseWhereOutput(output: string): string[] {
32 return output
33 .split(/\r?\n/)
34 .map((line) => line.trim())
35 .filter((line) => line.length > 0);
36}
37
38function isWslLauncherPath(p: string): boolean {
39 const normalized = WIN_PATH.normalize(p).toLowerCase();

Callers 1

findWindowsBashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected