diff options
author | RabsRincon <rubrinbla@gmail.com> | 2017-11-23 19:51:58 +0100 |
---|---|---|
committer | RabsRincon <rubrinbla@gmail.com> | 2017-11-23 19:51:58 +0100 |
commit | 5199949a87558ca63373b3463adb8fa1cbd29bd3 (patch) | |
tree | 2059c0830a242a4243e95026bf750ac8041c3a5b /lib/compile-handler.js | |
parent | cb0fc7fb044cd78e1a4bf535f7009db6b600b6fb (diff) | |
download | compiler-explorer-5199949a87558ca63373b3463adb8fa1cbd29bd3.tar.gz compiler-explorer-5199949a87558ca63373b3463adb8fa1cbd29bd3.zip |
Fix unnecessary coercion comparision
Diffstat (limited to 'lib/compile-handler.js')
-rw-r--r-- | lib/compile-handler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compile-handler.js b/lib/compile-handler.js index b9ab1a2b9..d2094c3bb 100644 --- a/lib/compile-handler.js +++ b/lib/compile-handler.js @@ -162,7 +162,7 @@ function CompileHandler(gccProps, compilerProps) { } options = _.chain(quote.parse(options || '') .map(function (x) { - if (typeof(x) == "string") return x; + if (typeof(x) === "string") return x; return x.pattern; })) .filter(_.identity) |