@roflsec/fail2scan 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/daemon.js +1 -1
- package/package.json +1 -1
package/bin/daemon.js
CHANGED
|
@@ -5,7 +5,7 @@ const { execFile, spawn } = require('child_process');
|
|
|
5
5
|
const { promisify } = require('util');
|
|
6
6
|
const https = require('https');
|
|
7
7
|
const execFileP = promisify(execFile);
|
|
8
|
-
|
|
8
|
+
require('dotenv').config()
|
|
9
9
|
// -------------------- CLI / CONFIG --------------------
|
|
10
10
|
const argv = process.argv.slice(2);
|
|
11
11
|
const getArg = (k,d) => { for(let i=0;i<argv.length;i++){const a=argv[i]; if(a===k&&argv[i+1]) return argv[++i]; if(a.startsWith(k+'=')) return a.split('=')[1]; } return d; };
|
package/package.json
CHANGED