bugfix: 修复 `Git.exe代理` 功能的http代理地址端口号不正确的问题
parent
952e21feb8
commit
5e4e8b8385
|
@ -29,7 +29,7 @@ const Plugin = function (context) {
|
|||
|
||||
async setProxy (ip, port) {
|
||||
const cmds = [
|
||||
`git config --global http.proxy http://${ip}:${port} `,
|
||||
`git config --global http.proxy http://${ip}:${port - 1} `,
|
||||
`git config --global https.proxy http://${ip}:${port} `,
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue