You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the develop branch shim creation leads to an error.
PS > scoop shim add quarto2 C:\scoop\apps\quarto\current\bin\quarto.exe
Adding local shim quarto2...
Add-Path: C:\scoop\apps\scoop\current\lib\core.ps1:831
Line |
831 | Add-Path -Path $abs_shimdir -Global:$global
| ~~~~~~~~
| The term 'Add-Path' is not recognized as a name of a cmdlet, function, script file, or executable
| program. Check the spelling of the name, or if a path was included, verify that the path is correct
| and try again.
Expected Behavior
Shims can be created.
Additional context/output
The bug was introduced in #5836, the commit before it was merged (77b66cc) works as expected.
Possible Solution
Importing system.ps1 in scoop-shim.ps1. WIP in https://github.com/svraka/Scoop/tree/follow-up-5836. Happy to open a PR for a single change but since tests didn't catch this omission, there might be some other bugs in different codepaths.
Bug Report
Current Behavior
On the
develop
branch shim creation leads to an error.Expected Behavior
Shims can be created.
Additional context/output
The bug was introduced in #5836, the commit before it was merged (77b66cc) works as expected.
Possible Solution
Importing
system.ps1
inscoop-shim.ps1
. WIP in https://github.com/svraka/Scoop/tree/follow-up-5836. Happy to open a PR for a single change but since tests didn't catch this omission, there might be some other bugs in different codepaths.System details
Windows version: 10 22H2
OS architecture: 64bit
PowerShell version: 7.4.1
Additional software: None
Scoop Configuration
The text was updated successfully, but these errors were encountered: