Skip to content

Commit

Permalink
[fix] linting issues with spacing and semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed Omar committed Oct 6, 2019
1 parent a723597 commit 3da589c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/parse.js
Expand Up @@ -87,8 +87,8 @@ var parseValues = function parseQueryStringValues(str, options) {
val = val.split(',');
}

if(part.indexOf('[]=') > -1){
val = Array.isArray(val) ? [val] : val
if (part.indexOf('[]=') > -1) {
val = Array.isArray(val) ? [val] : val;
}

if (has.call(obj, key)) {
Expand Down

0 comments on commit 3da589c

Please sign in to comment.