-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Result from https://github.com/orgs/jbangdev/discussions/2025 --> https://github.com/orgs/jbangdev/discussions/2025#discussioncomment-13920781
The npm wrapper does not search for jbang.exe created by chocolatey.
That results in different JBang versions on Windows:
>npx @jbangdev/jbang jabkit@jabref --help
[jbang] There is a new version of jbang available!
[jbang] You have version 0.116.0 and 0.126.1 is the latest.
...
>jbang --version
0.126.0
>C:\ProgramData\chocolatey\bin\jbang.exe --version
0.128.5
>C:\Users\olive\.jbang\bin\jbang --version
0.126.3
>C:\Users\olive\.jbang\bin\jbang.cmd --version
0.126.3
`´`
https://github.com/jbangdev/jbang-npm/blob/main/jbang.js#L58 needs to be adapted.
Metadata
Metadata
Assignees
Labels
No labels