Fix #30
This commit is contained in:
parent
ed02067795
commit
e320f77429
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ function readlineExt(options) {
|
||||||
try {
|
try {
|
||||||
res.input = childProc.execFileSync(extHostPath, hostArgs, execOptions);
|
res.input = childProc.execFileSync(extHostPath, hostArgs, execOptions);
|
||||||
} catch (e) { // non-zero exit code
|
} catch (e) { // non-zero exit code
|
||||||
extMessage = e.stderr.trim();
|
extMessage = e.stderr ? (e.stderr + '').trim() : '';
|
||||||
res.error = new Error(DEFAULT_ERR_MSG + (extMessage ? '\n' + extMessage : ''));
|
res.error = new Error(DEFAULT_ERR_MSG + (extMessage ? '\n' + extMessage : ''));
|
||||||
res.error.method = 'execFileSync';
|
res.error.method = 'execFileSync';
|
||||||
res.error.program = extHostPath;
|
res.error.program = extHostPath;
|
||||||
|
|
Loading…
Reference in a new issue