Skip to content

Commit baffb66

Browse files
authored
Fix empty arg handling in extension (carbon-language#5083)
Oops, broken in carbon-language#5056
1 parent aa90ab3 commit baffb66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utils/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "carbon-vscode",
33
"displayName": "Carbon Language",
4-
"version": "0.0.6",
4+
"version": "0.0.7",
55
"publisher": "carbon-lang",
66
"description": "Carbon language support for Visual Studio Code.",
77
"repository": {

utils/vscode/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function splitQuotedString(argsString: string): string[] {
3030
const args: string[] = [];
3131
let arg = '';
3232
// Track whether there's an arg to handle `""` and similar.
33-
let hasArg = true;
33+
let hasArg = false;
3434
// Whether this is in a quote-delimited section.
3535
let inSingleQuotes = false;
3636
let inDoubleQuotes = false;

0 commit comments

Comments
 (0)