summaryrefslogtreecommitdiffstats
path: root/lib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/string.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/string.js b/lib/utils/string.js
index 417d7af..54c4c66 100644
--- a/lib/utils/string.js
+++ b/lib/utils/string.js
@@ -11,8 +11,8 @@ function escapeShellArg(arg) {
function optionsToShellArgs(options) {
return _.chain(options)
.map(function(value, key) {
- if (value == null || value == false) return null;
- if (value == true) return key;
+ if (value == null || value === false) return null;
+ if (value === true) return key;
return key+"="+escapeShellArg(value);
})
.compact()