node v18 type-checker hates this, ignore it
This commit is contained in:
parent
cd8027aeea
commit
aa901883d2
|
@ -91,10 +91,8 @@ function createDefaultFiles() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const net = require("net");
|
const net = require("net");
|
||||||
// work around a node v20 bug: https://github.com/nodejs/node/issues/47822#issuecomment-1564708870
|
// @ts-ignore work around a node v20 bug: https://github.com/nodejs/node/issues/47822#issuecomment-1564708870
|
||||||
if (net.setDefaultAutoSelectFamily) {
|
if (net.setDefaultAutoSelectFamily) net.setDefaultAutoSelectFamily(false);
|
||||||
net.setDefaultAutoSelectFamily(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
const cliArguments = yargs(hideBin(process.argv))
|
const cliArguments = yargs(hideBin(process.argv))
|
||||||
.option('disableCsrf', {
|
.option('disableCsrf', {
|
||||||
|
|
Loading…
Reference in New Issue