Skip to content

Commit 71b845c

Browse files
committed
Shell path -> shell executable
Fixes microsoft#101482
1 parent 41b98ed commit 71b845c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/contrib/terminal/node/terminalProcess.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class TerminalProcess extends Disposable implements ITerminalChildProcess
111111
try {
112112
const result = await stat(slc.executable);
113113
if (!result.isFile() && !result.isSymbolicLink()) {
114-
return { message: localize('launchFail.executableIsNotFileOrSymlink', "Shell path \"{0}\" is not a file of a symlink", slc.executable) };
114+
return { message: localize('launchFail.executableIsNotFileOrSymlink', "Path to shell executable \"{0}\" is not a file of a symlink", slc.executable) };
115115
}
116116
} catch (err) {
117117
if (err?.code === 'ENOENT') {
@@ -120,7 +120,7 @@ export class TerminalProcess extends Disposable implements ITerminalChildProcess
120120
const envPaths: string[] | undefined = (slc.env && slc.env.PATH) ? slc.env.PATH.split(path.delimiter) : undefined;
121121
const executable = await findExecutable(slc.executable!, cwd, envPaths);
122122
if (!executable) {
123-
return { message: localize('launchFail.executableDoesNotExist', "Shell path \"{0}\" does not exist", slc.executable) };
123+
return { message: localize('launchFail.executableDoesNotExist', "Path to shell executable \"{0}\" does not exist", slc.executable) };
124124
}
125125
}
126126
}

0 commit comments

Comments
 (0)