Everything but the first is parsed as:
"# It doesn't look like a git repo, and simple syntax: PSGalleryModule"
This is because $DependencyType gets set later on in the script as PSGalleryModule ($DependencyType = $DependencyHash.DependencyType) and therefore matches the following in Get-Dependency.ps1 at line 226
If you specify several "advanced" Powershell module syntaxes only the first is parsed correctly.
Everything but the first is parsed as:
"# It doesn't look like a git repo, and simple syntax: PSGalleryModule"
This is because $DependencyType gets set later on in the script as PSGalleryModule (
$DependencyType = $DependencyHash.DependencyType
) and therefore matches the following in Get-Dependency.ps1 at line 226