Skip to content

Commit

Permalink
Checking to see if the test is failing due to this
Browse files Browse the repository at this point in the history
  • Loading branch information
God-damnit-all authored Nov 22, 2022
1 parent c54d095 commit 7e537ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Public/Get-GitModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ function Get-GitModule {
$ModuleName = ($P1 -split '/')[-1]
$tempDir = Join-Path $tmpRoot $ModuleName
if (!(Test-Path $tempDir)) {
# Strip .git from variables if a directory that ends with .git isn't located (backwards compatibility)
if ($tempDir.EndsWith('.git')) { $ModuleName = $ModuleName.Substring(0,$ModuleName.Length-4) }
Write-Verbose -Message "$(Get-Date -f T) creating directory $tempDir"
New-Item $tempDir -ItemType Directory -Force | Out-Null
} elseif (Get-ChildItem $tempDir -Force) {
Expand Down

0 comments on commit 7e537ab

Please sign in to comment.