Skip to content

Commit 1cc381c

Browse files
committed
Fixed failing test
1 parent 6b4fec9 commit 1cc381c

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/vs/workbench/parts/tasks/node/taskConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ namespace CommandConfiguration {
849849
result.args = [];
850850
for (let arg of config.args) {
851851
let converted = ShellString.from(arg);
852-
if (converted) {
852+
if (converted !== void 0) {
853853
result.args.push(converted);
854854
} else {
855855
context.problemReporter.error(nls.localize('ConfigurationParser.inValidArg', 'Error: command argument must either be a string or a quoted string. Provided value is:\n{0}', context.problemReporter.error(nls.localize('ConfigurationParser.noargs', 'Error: command arguments must be an array of strings. Provided value is:\n{0}', arg ? JSON.stringify(arg, undefined, 4) : 'undefined'))));

src/vs/workbench/parts/tasks/test/electron-browser/configuration.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,6 @@ suite('Bugs / regression tests', () => {
16481648
}
16491649
});
16501650

1651-
/*
16521651
test('Bug 28489', () => {
16531652
let external = {
16541653
version: '0.1.0',
@@ -1674,5 +1673,4 @@ suite('Bugs / regression tests', () => {
16741673
runtime(Tasks.RuntimeType.Shell);
16751674
testConfiguration(external, builder);
16761675
});
1677-
*/
16781676
});

0 commit comments

Comments
 (0)