From cf8359b8d6126aa5f84ac36b4e4a7d7d62994c75 Mon Sep 17 00:00:00 2001 From: Luiz Freneda Date: Thu, 25 Aug 2016 10:32:05 -0300 Subject: [PATCH] moving ; :satisfied: --- lib/search-query-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/search-query-parser.js b/lib/search-query-parser.js index d1f2a4d..ceadc3f 100644 --- a/lib/search-query-parser.js +++ b/lib/search-query-parser.js @@ -52,7 +52,7 @@ exports.parse = function (string, options) { }); terms[i] = key + ':' + val; } - }; + } // Reverse to ensure proper order when pop()'ing. terms.reverse(); // For each search term @@ -99,7 +99,7 @@ exports.parse = function (string, options) { else { // Put both the current value and the new // value in an array - query[key] = [query[key]] + query[key] = [query[key]]; query[key].push(value); } }