We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ffdefc commit 0a49a8bCopy full SHA for 0a49a8b
1 file changed
extension/BuildPhpExtension/private/Get-Extension.ps1
@@ -77,6 +77,11 @@ function Get-Extension {
77
git remote add origin $ExtensionUrl > $null 2>&1
78
git fetch --depth=1 origin $ExtensionRef > $null 2>&1
79
git checkout FETCH_HEAD > $null 2>&1
80
+
81
+ if (Test-Path -LiteralPath (Join-Path (Get-Location).Path '.gitmodules')) {
82
+ git submodule sync --recursive > $null 2>&1
83
+ git submodule update --init --recursive --depth 1 > $null 2>&1
84
+ }
85
}
86
87
} catch {
0 commit comments