bugfix: 修复 `Git.exe代理` 功能的http代理地址端口号不正确的问题

master
王良 5 days ago
parent 952e21feb8
commit 5e4e8b8385

@ -29,7 +29,7 @@ const Plugin = function (context) {
async setProxy (ip, port) { async setProxy (ip, port) {
const cmds = [ 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} `, `git config --global https.proxy http://${ip}:${port} `,
] ]

Loading…
Cancel
Save