Skip to content

Commit 7e537ab

Browse files
Checking to see if the test is failing due to this
1 parent c54d095 commit 7e537ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Public/Get-GitModule.ps1

-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ function Get-GitModule {
4646
$ModuleName = ($P1 -split '/')[-1]
4747
$tempDir = Join-Path $tmpRoot $ModuleName
4848
if (!(Test-Path $tempDir)) {
49-
# Strip .git from variables if a directory that ends with .git isn't located (backwards compatibility)
50-
if ($tempDir.EndsWith('.git')) { $ModuleName = $ModuleName.Substring(0,$ModuleName.Length-4) }
5149
Write-Verbose -Message "$(Get-Date -f T) creating directory $tempDir"
5250
New-Item $tempDir -ItemType Directory -Force | Out-Null
5351
} elseif (Get-ChildItem $tempDir -Force) {

0 commit comments

Comments
 (0)