Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@
val =
arg.slice(Math.max(0, ++idx)) ||
i + 1 === len ||
("" + args[i + 1]).charCodeAt(0) === 45 ||
(("" + args[i + 1]).charCodeAt(0) === 45 &&
!("" + args[i + 1]).includes(" ")) ||

Check warning on line 140 in src/_parser.ts

View check run for this annotation

Codecov / codecov/patch

src/_parser.ts#L139-L140

Added lines #L139 - L140 were not covered by tests
args[++i];
arr = j === 2 ? [name] : name;

Expand Down