mirror of
https://github.com/actions/checkout.git
synced 2025-04-01 22:10:06 +02:00
[test] submodule call.
This commit is contained in:
parent
5a4ac9002d
commit
3ebe8f7339
1 changed files with 7 additions and 5 deletions
|
@ -341,10 +341,12 @@ class GitAuthHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const pattern = regexpHelper.escape(configKey)
|
if (this.settings.submodules) {
|
||||||
await this.git.submoduleForeach(
|
const pattern = regexpHelper.escape(configKey)
|
||||||
`git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :`,
|
await this.git.submoduleForeach(
|
||||||
true
|
`git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :`,
|
||||||
)
|
true
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue