Skip to content

Commit

Permalink
bugfix: 修复 Git.exe代理 功能的http代理地址端口号不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Nov 20, 2024
1 parent 952e21f commit 5e4e8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/modules/plugin/git/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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} `,
]

Expand Down

0 comments on commit 5e4e8b8

Please sign in to comment.