chocolatey-community / chocolatey-azuredevops

Chocolatey Extension for Azure DevOps
MIT License
20 stars 11 forks source link

(GH-64) Handle when $chocoInstallLocation is null (in chocolatey.ps1) #65

Closed flcdrg closed 1 year ago

flcdrg commented 4 years ago

If environment variable isn't found, then it is set to null, so we check this before we try and call Test-Path

Fixes #64

VerdonTrigance commented 3 years ago

@gep13 Can you approve it and update a task? I have this problem too.

flcdrg commented 3 years ago

I need to double-check I've created this against the correct branch (got it wrong last time!)