mirror of
https://gitee.com/actions-mirror/checkout.git
synced 2025-10-19 05:31:19 +08:00
.
This commit is contained in:
parent
e4894fca20
commit
3292e202f3
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -498,7 +498,7 @@ class GitAuthHelper {
|
|||||||
core.debug(`Error during includeIf cleanup: ${err}`);
|
core.debug(`Error during includeIf cleanup: ${err}`);
|
||||||
}
|
}
|
||||||
// Remove submodule includeIf
|
// Remove submodule includeIf
|
||||||
yield this.git.submoduleForeach(`sh -c "git config --local --get-regexp '^includeIf\\.' && git config --local --remove-section includeIf || :"`, true);
|
yield this.git.submoduleForeach(`sh -c "git config --local --get-regexp '^includeif\\.' && git config --local --remove-section includeif || :"`, true);
|
||||||
// Remove credentials config file
|
// Remove credentials config file
|
||||||
if (this.credentialsConfigPath) {
|
if (this.credentialsConfigPath) {
|
||||||
try {
|
try {
|
||||||
|
@ -474,7 +474,7 @@ class GitAuthHelper {
|
|||||||
|
|
||||||
// Remove submodule includeIf
|
// Remove submodule includeIf
|
||||||
await this.git.submoduleForeach(
|
await this.git.submoduleForeach(
|
||||||
`sh -c "git config --local --get-regexp '^includeIf\\.' && git config --local --remove-section includeIf || :"`,
|
`sh -c "git config --local --get-regexp '^includeif\\.' && git config --local --remove-section includeif || :"`,
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user