Skip to content

Commit

Permalink
(chocolateyGH-144) Don't use write-output for information
Browse files Browse the repository at this point in the history
Write-Output breaks a function waiting for a return value. Ugh
  • Loading branch information
ferventcoder committed Mar 3, 2015
1 parent a318644 commit 44306ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chocolatey.resources/helpers/functions/Get-BinRoot.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
function Get-BinRoot {

Write-Debug "Running 'Get-BinRoot'";
Write-Output "Get-BinRoot is going to be deprecated by v1. Many packages no longer require it since the folders no longer have versions on them."
Write-Host "Get-BinRoot is going to be deprecated by v1. Many packages no longer require it since the folders no longer have versions on them."

# Since CamelCase was decided upon when $env:ChocolateyInstall was first invented, whe should stick to this convention and use $env:ChocolateyBinRoot.
# I propose:
Expand Down

0 comments on commit 44306ef

Please sign in to comment.