Fix bug : "IPCIDR is not a constructor" (#8400)

This commit is contained in:
dogcraft 2022-03-12 18:23:57 +08:00 committed by GitHub
parent 6cf346b3ea
commit db900c8324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);