mirror of
https://github.com/actions/checkout.git
synced 2025-07-13 20:50:45 +00:00
removeGitConfig should follow nested submodule setting for not
This commit is contained in:
parent
3ba5ee6fac
commit
72546633e7
2 changed files with 3 additions and 3 deletions
|
@ -368,7 +368,7 @@ class GitAuthHelper {
|
|||
await this.git.submoduleForeach(
|
||||
// wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline
|
||||
`sh -c "git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :"`,
|
||||
true
|
||||
this.settings.nestedSubmodules
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue