Fix bug : "IPCIDR is not a constructor" (#8400)
This commit is contained in:
parent
6cf346b3ea
commit
db900c8324
|
@ -6,7 +6,7 @@ import { httpAgent, httpsAgent, StatusError } from './fetch.js';
|
|||
import config from '@/config/index.js';
|
||||
import chalk from 'chalk';
|
||||
import Logger from '@/services/logger.js';
|
||||
import * as IPCIDR from 'ip-cidr';
|
||||
import IPCIDR from 'ip-cidr';
|
||||
import PrivateIp from 'private-ip';
|
||||
|
||||
const pipeline = util.promisify(stream.pipeline);
|
||||
|
|
Loading…
Reference in New Issue