refactor: 1

pull/67/head
xiaojunnuo 2021-04-04 23:30:58 +08:00
parent ee19f87f2d
commit 62b281d497
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ const NodePlugin = function (context) {
async setProxy (ip, port) {
const cmds = [
`npm1 config set proxy=http://${ip}:${port}`,
`npm1 config set https-proxy=http://${ip}:${port}`
`npm config set proxy=http://${ip}:${port}`,
`npm config set https-proxy=http://${ip}:${port}`
]
const env = []