|
|
@ -177,8 +177,11 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
|
|
|
core.endGroup()
|
|
|
|
core.endGroup()
|
|
|
|
|
|
|
|
|
|
|
|
// Clean existing submodules
|
|
|
|
// Clean existing submodules
|
|
|
|
await git.submoduleReset(settings.nestedSubmodules)
|
|
|
|
if (settings.clean)
|
|
|
|
await git.submoduleClean(settings.nestedSubmodules)
|
|
|
|
{
|
|
|
|
|
|
|
|
await git.submoduleReset(settings.nestedSubmodules)
|
|
|
|
|
|
|
|
await git.submoduleClean(settings.nestedSubmodules)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Checkout submodules
|
|
|
|
// Checkout submodules
|
|
|
|
core.startGroup('Fetching submodules')
|
|
|
|
core.startGroup('Fetching submodules')
|
|
|
|