(attemptedPath: string)
| 111 | ); |
| 112 | |
| 113 | export const cannotFindNodeBinary = (attemptedPath: string) => |
| 114 | createUserError( |
| 115 | localize( |
| 116 | 'runtime.node.notfound', |
| 117 | 'Can\'t find Node.js binary "{0}". Make sure Node.js is installed and in your PATH, or set the "runtimeExecutable" in your launch.json', |
| 118 | attemptedPath, |
| 119 | ), |
| 120 | ErrorCodes.CannotFindNodeBinary, |
| 121 | ); |
| 122 | |
| 123 | export const nodeBinaryOutOfDate = (readVersion: string, attemptedPath: string) => |
| 124 | createUserError( |
no test coverage detected