refactor: 1
parent
ee19f87f2d
commit
62b281d497
|
@ -119,8 +119,8 @@ const NodePlugin = function (context) {
|
||||||
|
|
||||||
async setProxy (ip, port) {
|
async setProxy (ip, port) {
|
||||||
const cmds = [
|
const cmds = [
|
||||||
`npm1 config set proxy=http://${ip}:${port}`,
|
`npm config set proxy=http://${ip}:${port}`,
|
||||||
`npm1 config set https-proxy=http://${ip}:${port}`
|
`npm config set https-proxy=http://${ip}:${port}`
|
||||||
]
|
]
|
||||||
|
|
||||||
const env = []
|
const env = []
|
||||||
|
|
Loading…
Reference in New Issue