Skip to content

Commit 945e6f8

Browse files
committed
Work around #57452 by allowing a raw string for terminal.integrated.shellArgs.windows
1 parent 7b7c7da commit 945e6f8

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/vs/workbench/parts/terminal/electron-browser/terminal.contribution.ts

+13-4
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,19 @@ configurationRegistry.registerConfiguration({
110110
},
111111
'terminal.integrated.shellArgs.windows': {
112112
markdownDescription: nls.localize('terminal.integrated.shellArgs.windows', "The command line arguments to use when on the Windows terminal. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)."),
113-
type: 'array',
114-
items: {
115-
type: 'string'
116-
},
113+
'anyOf': [
114+
{
115+
type: 'array',
116+
items: {
117+
type: 'string',
118+
description: nls.localize('terminal.integrated.shellArgs.windows.array', "An array of string of argments to use when on the Windows terminal. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).")
119+
},
120+
},
121+
{
122+
type: 'string',
123+
description: nls.localize('terminal.integrated.shellArgs.windows.string', "A single string of argments to use when on the Windows terminal. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)."),
124+
}
125+
],
117126
default: []
118127
},
119128
'terminal.integrated.macOptionIsMeta': {

0 commit comments

Comments
 (0)