|
|
|
@ -56,13 +56,13 @@ const Plugin = function (context) {
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
await shell.exec(['git config --global --unset https.proxy '], { type: 'cmd' })
|
|
|
|
|
} catch (ignore) {
|
|
|
|
|
} catch {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (config.get().plugin.git.setting.sslVerify === true) {
|
|
|
|
|
try {
|
|
|
|
|
await shell.exec(['git config --global --unset http.sslVerify '], { type: 'cmd' })
|
|
|
|
|
} catch (ignore) {
|
|
|
|
|
} catch {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -70,7 +70,7 @@ const Plugin = function (context) {
|
|
|
|
|
for (const url in config.get().plugin.git.setting.noProxyUrls) {
|
|
|
|
|
try {
|
|
|
|
|
await shell.exec([`git config --global --unset http."${url}".proxy `], { type: 'cmd' })
|
|
|
|
|
} catch (ignore) {
|
|
|
|
|
} catch {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|