fixes 7 errs. see yargs typescript docs. test plz

This commit is contained in:
RealBeepMcJeep 2023-08-30 11:34:45 -07:00
parent 3feeaaa09f
commit cd8027aeea
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ const cliArguments = yargs(hideBin(process.argv))
type: 'string',
default: 'certs/privkey.pem',
describe: 'Path to your private key file.'
}).argv;
}).parseSync();
// change all relative paths
const directory = process['pkg'] ? path.dirname(process.execPath) : __dirname;