[test] submodule call.

pull/470/head
Giridharan Manivannan 4 years ago
parent 5a4ac9002d
commit 3ebe8f7339

@ -341,6 +341,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(
`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}' || :`,
@ -348,3 +349,4 @@ class GitAuthHelper {
) )
} }
} }
}

Loading…
Cancel
Save