[test] submodule call.

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

@ -341,10 +341,12 @@ 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}' || :`,
true true
) )
} }
}
} }

Loading…
Cancel
Save