mirror of
https://github.com/actions/checkout.git
synced 2025-10-18 16:51: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}`);
|
||||
}
|
||||
// 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
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user