This commit is contained in:
eric sciple 2025-10-16 22:58:25 +00:00
parent e4894fca20
commit 3292e202f3
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -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 {

View File

@ -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
)