Skip to content

Commit 633f21a

Browse files
committed
Remove check
1 parent 7a3282a commit 633f21a

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/spec-node/devContainersSpecCLI.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -526,12 +526,6 @@ function buildOptions(y: Argv) {
526526
'experimental-lockfile': { type: 'boolean', default: false, hidden: true, description: 'Write lockfile' },
527527
'experimental-frozen-lockfile': { type: 'boolean', default: false, hidden: true, description: 'Ensure lockfile remains unchanged' },
528528
'omit-syntax-directive': { type: 'boolean', default: false, hidden: true, description: 'Omit Dockerfile syntax directives' },
529-
})
530-
.check(argv => {
531-
if (!argv['workspace-folder']) {
532-
argv['workspace-folder'] = process.cwd();
533-
}
534-
return true;
535529
});
536530
}
537531

@@ -1120,13 +1114,7 @@ function outdatedOptions(y: Argv) {
11201114
'log-format': { choices: ['text' as 'text', 'json' as 'json'], default: 'text' as 'text', description: 'Log format.' },
11211115
'terminal-columns': { type: 'number', implies: ['terminal-rows'], description: 'Number of columns to render the output for. This is required for some of the subprocesses to correctly render their output.' },
11221116
'terminal-rows': { type: 'number', implies: ['terminal-columns'], description: 'Number of rows to render the output for. This is required for some of the subprocesses to correctly render their output.' },
1123-
})
1124-
.check(argv => {
1125-
if (!argv['workspace-folder']) {
1126-
argv['workspace-folder'] = process.cwd();
1127-
}
1128-
return true;
1129-
});
1117+
});
11301118
}
11311119

11321120
type OutdatedArgs = UnpackArgv<ReturnType<typeof outdatedOptions>>;

0 commit comments

Comments
 (0)