mirror of
https://gitea.com/actions/checkout.git
synced 2025-10-25 07:16:32 +00:00
.
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -498,7 +498,7 @@ class GitAuthHelper {
|
||||
core.debug(`Error during includeIf cleanup: ${err}`);
|
||||
}
|
||||
// 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
|
||||
if (this.credentialsConfigPath) {
|
||||
try {
|
||||
|
||||
@@ -474,7 +474,7 @@ class GitAuthHelper {
|
||||
|
||||
// Remove submodule includeIf
|
||||
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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user