1
0
mirror of https://github.com/actions/checkout.git synced 2026-03-04 08:41:01 +08:00
This commit is contained in:
Nanashi. 2024-10-24 17:04:31 +11:00 committed by GitHub
commit 82cf7e4b7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -364,6 +364,7 @@ class GitAuthHelper {
} }
} }
if (this.settings.submodules) {
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
@ -371,4 +372,5 @@ class GitAuthHelper {
true true
) )
} }
}
} }