Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Get-BinRoot with Get-ToolsLocation #179

Closed
dtgm opened this issue Apr 11, 2016 · 4 comments
Closed

Replace Get-BinRoot with Get-ToolsLocation #179

dtgm opened this issue Apr 11, 2016 · 4 comments

Comments

@dtgm
Copy link
Owner

dtgm commented Apr 11, 2016

Get-BinRoot helper function is being deprecated in favor of Get-ToolsLocation

In applicable scripts, replace: NOT YET!

old new
Get-BinRoot Get-ToolsLocation
$env:ChocolateyBinRoot $env:ChocolateyToolsLocation
%ChocolateyBinRoot% %ChocolateyToolsLocation%

Ref:

@dtgm
Copy link
Owner Author

dtgm commented Jun 24, 2016

Using Get-ToolsLocation requires also adding as dependency

<dependencies> 
  <dependency id="chocolatey" version="0.9.10" /> 
</dependencies>

However, Get-BinRoot is an alias for Get-ToolsLocation so nothing should be updated for now. Deprecated warning should be ignored for now.

@dtgm dtgm added the 0_wontfix label Jun 25, 2016
@musm
Copy link

musm commented Dec 5, 2019

So is Get-ToolsLocation officially removed?

@tunisiano187
Copy link
Contributor

Get-Binroot did, not Get-ToolsLocation

@tunisiano187
Copy link
Contributor

@gep13, It seems this one can be closed too.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants