aube config set scriptShell sets scriptShell in config.toml, but incorrectly clears script-shell in ~/.npmrc
#601
-
|
This breaks the npm script-shell setting. Imo, setting the Reading the value can still read both, with preference for Steps to reproduceOn Windows> echo script-shell=C:\Program Files\git\bin\bash.exe > "%UserProfile%\.npmrc"
> aube config set scriptShell "C:\Program Files\git\bin\bash.exe"
set scriptShell=C:\Program Files\git\bin\bash.exe (C:\Users\...\.config\aube\config.toml)
> grep script-shell "%UserProfile%\.npmrc"
# The script-shell setting was removed by `aube config set scriptShell`On Mac/Linux$ echo script-shell=bash > ~/.npmrc
$ aube config set scriptShell bash
set scriptShell=bash (~/.config/aube/config.toml)
$ grep script-shell ~/.npmrc
# The script-shell setting was removed by `aube config set scriptShell` |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Thanks for the clear repro. Confirmed bug — Fixed in #608 with two coupled changes:
Per-setting This comment was generated by Claude. |
Beta Was this translation helpful? Give feedback.
-
|
Follow-up: jdx pointed out that project The new default precedence: Two principles: scope locality (project beats user) and aube authority within a scope (aube's config file beats Project-scope This comment was generated by Claude. |
Beta Was this translation helpful? Give feedback.
-
|
Awesome work @jdx 🔥 Thanks! |
Beta Was this translation helpful? Give feedback.
Awesome work @jdx 🔥 Thanks!
✅ Fixed in #608, released in v1.11.0, tested OK