mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
codeql: remove some useless check
This commit is contained in:
1 parent
8c6f9a3b71
commit
07d7a38a1b
7 files changed
+18
-23
No files matched your search
@@ -2,5 +2,5 @@
|
||||
|
||||
const { argv } = require('yargs');
|
||||
|
||||
if (argv._[0] == 'cache') require('../dist/cache')()
|
||||
else if (!argv._) require('../dist/daemon')();
|
||||
if ((argv._ || [])[0] == 'cache') require('../dist/cache')()
|
||||
else require('../dist/daemon')();
|
||||
Reference in new issue
Block a user