ScoopInstaller / GithubActions

Github Actions for Scoop buckets
MIT License
24 stars 22 forks source link

Action/PR: Avoid $version in checkver script #8

Closed issaclin32 closed 2 years ago

issaclin32 commented 2 years ago
rashil2000 commented 2 years ago

I think we should really first investigate why the $version variables gets leaked out of the Invoke-Expression call here: https://github.com/ScoopInstaller/Scoop/blob/ac2fb38722fffca9dcea6e7faeda6f305f04ad9b/bin/checkver.ps1#L224, that too in the global scope (because it affects all subsequent checkver calls thereafter).

/cc @niheaven

issaclin32 commented 2 years ago

Fixed by https://github.com/ScoopInstaller/Scoop/pull/4941.