Skip to content

Commit

Permalink
Handle "" when parsing command line.
Browse files Browse the repository at this point in the history
Fix #60.
  • Loading branch information
tom-seddon committed Dec 6, 2020
1 parent a792368 commit 9a9147f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/CommandLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ export default class CommandLine {
++i;
} else {
quotes = false;

if (this.part === undefined) {
// Handle "".
this.part = '';
}

this.addPart();
}
} else {
Expand Down

0 comments on commit 9a9147f

Please sign in to comment.