mirror of
https://github.com/actions/checkout.git
synced 2025-03-14 18:17:00 +00:00
Update src/git-auth-helper.ts
drop extraneous space. Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
fb318fb3f8
commit
1216f2de15
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ class GitAuthHelper {
|
||||||
const pattern = regexpHelper.escape(configKey)
|
const pattern = regexpHelper.escape(configKey)
|
||||||
await this.git.submoduleForeach(
|
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
|
// wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline
|
||||||
`"git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || : "`,
|
`"git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :"`,
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue