From 23e72de71b373e51a4ddcb508b06211058fbac71 Mon Sep 17 00:00:00 2001 From: Oj Date: Fri, 28 Jan 2022 20:53:12 +0000 Subject: [PATCH] [Index] Tweak source (don't check process.argv as unneeded) --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index ce84adb..da72445 100644 --- a/src/index.js +++ b/src/index.js @@ -22,7 +22,7 @@ log('Init', 'Loaded config', oaConfig); require('./cmdSwitches')(); -if (process.argv?.includes('--overlay-host')) { +if (process.argv.includes('--overlay-host')) { const buildInfo = require('./utils/buildInfo'); if (buildInfo.newUpdater) {