diff --git a/js/common/bootstrap/module-internal.js b/js/common/bootstrap/module-internal.js index f162c78c36..94836a821c 100644 --- a/js/common/bootstrap/module-internal.js +++ b/js/common/bootstrap/module-internal.js @@ -795,11 +795,17 @@ exports.toArgv = function (structure, longOptsEqual) { vec.push('--' + key + '=' + structure[key]); } else { + vec.push('--' + key); if (structure[key] !== false) { - vec.push('--' + key); if (structure[key] !== true) { vec.push(structure[key]); } + else { + vec.push("true"); + } + } + else { + vec.push("false"); } } }