Skip to content

Commit

Permalink
fix: trim parsed input group keys to remove whitespace (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
eban5 authored Aug 16, 2022
1 parent e2c8193 commit 2eb1ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/parser/parse-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ function parseOptions(input, callback, keyValueDelim, groupDelim) {
if (kv.length !== 2) {
continue;
}
var k = kv[0];
var v = kv[1];
var k = kv[0].trim();
var v = kv[1].trim();
callback(k, v);
}
}
Expand Down

0 comments on commit 2eb1ea4

Please sign in to comment.