Skip to content

Commit

Permalink
Fix terminal exit arg form
Browse files Browse the repository at this point in the history
Fixes #72882
  • Loading branch information
Tyriar committed May 1, 2019
1 parent 702aaa3 commit 686bb93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ export class TerminalInstance implements ITerminalInstance {
if (this._processManager && this._processManager.processState === ProcessState.KILLED_DURING_LAUNCH) {
let args = '';
if (typeof this._shellLaunchConfig.args === 'string') {
args = this._shellLaunchConfig.args;
args = ` ${this._shellLaunchConfig.args}`;
} else if (this._shellLaunchConfig.args && this._shellLaunchConfig.args.length) {
args = ' ' + this._shellLaunchConfig.args.map(a => {
if (typeof a === 'string' && a.indexOf(' ') !== -1) {
Expand Down

0 comments on commit 686bb93

Please sign in to comment.