fixes 7 errs. see yargs typescript docs. test plz
This commit is contained in:
parent
3feeaaa09f
commit
cd8027aeea
|
@ -113,7 +113,7 @@ const cliArguments = yargs(hideBin(process.argv))
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: 'certs/privkey.pem',
|
default: 'certs/privkey.pem',
|
||||||
describe: 'Path to your private key file.'
|
describe: 'Path to your private key file.'
|
||||||
}).argv;
|
}).parseSync();
|
||||||
|
|
||||||
// change all relative paths
|
// change all relative paths
|
||||||
const directory = process['pkg'] ? path.dirname(process.execPath) : __dirname;
|
const directory = process['pkg'] ? path.dirname(process.execPath) : __dirname;
|
||||||
|
|
Loading…
Reference in New Issue