From 1bc9b3918c55799cccd75fb08b4c6fe758be51d2 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Fri, 5 Oct 2018 12:17:08 +0200 Subject: [PATCH] Fixed op priority --- mm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm.js b/mm.js index 0122af3..c3faac0 100755 --- a/mm.js +++ b/mm.js @@ -678,7 +678,7 @@ function parse_argv(cb) { process.argv.slice(2).forEach(function (val, index) { let m; if (index === 0) { - if (m = val.match(/^(.+\.json)$/) && fs.existsSync(path.resolve(m[1]))) { + if ((m = val.match(/^(.+\.json)$/)) && fs.existsSync(path.resolve(m[1]))) { console_file = m[1]; load_config_file(); return;