Skip to content

Commit 1fb4be6

Browse files
committed
fix: remove unnecessary check
1 parent 19c3f52 commit 1fb4be6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/parse.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ function parse(input) {
4343
key = input.slice(startingIndex + 1, i);
4444
value = "";
4545
}
46-
// Check if the current range consist of only values.
47-
else if (equalityIndex === startingIndex) {
48-
key = "";
49-
value = input.slice(equalityIndex + 1, i);
50-
}
5146
// Range consist of both key and value
5247
else {
5348
key = input.slice(startingIndex + 1, equalityIndex);

0 commit comments

Comments
 (0)