From 44306efbe55b982d92c9c23ba3b44df01e6f242e Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Tue, 3 Mar 2015 13:37:07 -0600 Subject: [PATCH] (GH-144) Don't use write-output for information Write-Output breaks a function waiting for a return value. Ugh --- src/chocolatey.resources/helpers/functions/Get-BinRoot.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chocolatey.resources/helpers/functions/Get-BinRoot.ps1 b/src/chocolatey.resources/helpers/functions/Get-BinRoot.ps1 index a512f6a4a5..81cec4cc69 100644 --- a/src/chocolatey.resources/helpers/functions/Get-BinRoot.ps1 +++ b/src/chocolatey.resources/helpers/functions/Get-BinRoot.ps1 @@ -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: