Skip to content

Commit

Permalink
Fix -match for one-line profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlbyk authored and rkeithhill committed Jan 26, 2017
1 parent db6ddb0 commit 29c355b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utils.ps1
Expand Up @@ -214,7 +214,7 @@ function Test-PoshGitImportedInScript {
return $false
}

@((Get-Content $Path -ErrorAction SilentlyContinue) -match 'posh-git').Count -gt 0
(@(Get-Content $Path -ErrorAction SilentlyContinue) -match 'posh-git').Count -gt 0
}

function dbg($Message, [Diagnostics.Stopwatch]$Stopwatch) {
Expand Down

0 comments on commit 29c355b

Please sign in to comment.