Skip to content

Commit

Permalink
Merge pull request #412 from dahlbyk/rkeithhill/fix-worktree-test-error
Browse files Browse the repository at this point in the history
Add debug script to see what appveyor issue is.
  • Loading branch information
rkeithhill authored Feb 11, 2017
2 parents a13e471 + fec8ddf commit ca7db50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ install:
- ps: |
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null
Install-Module Pester -MinimumVersion 3.4.0 -Scope CurrentUser -Force | Out-Null
"PSVersion: $($PSVersionTable.PSVersion), build: $($PSVersionTable.BuildVersion), clr version: $($PSVersionTable.ClrVersion)"
"Host name: $($Host.Name)"
"Git version: $(git.exe --version)"
"PSVersion: $($PSVersionTable.PSVersion), build: $($PSVersionTable.BuildVersion), clr version: $($PSVersionTable.ClrVersion)"
"Host name: $($Host.Name)"
build: false

Expand Down
2 changes: 1 addition & 1 deletion test/Get-GitDirectory.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Describe 'Get-GitDiretory Tests' {
Remove-Item $worktreePath -Recurse -Force
}
New-Item $worktreePath -ItemType Directory > $null
git worktree add -b test-worktree $worktreePath master
git worktree add -b test-worktree $worktreePath master 2>$null
}
AfterEach {
Set-Location $origPath
Expand Down

0 comments on commit ca7db50

Please sign in to comment.