✅ Expected Behavior
The docs sound like this flag works even if none of the workspace's packages list the script.
Don’t fail if the script doesn’t exist. Useful when running scripts across workspaces where not all packages have the same scripts.
FWIW, NPM doesn't have a problem here.
❌ Actual Behavior
It errors as if the flag was not passed.
🔄 Steps to Reproduce
- Go to the test case
|
t.test('run script across workspaces with some missing', async t => { |
- In the argument list, change "hello" to "goodbye"
|
const conf = await Config.load(t.testdirName, [ |
|
'hello', |
|
...args, |
|
'--view=human', |
|
]) |
- Run tests, and watch them fail
🌍 Environment
- OS: linux v24.14.0
- Node: v24.14.0
- vlt: 1.0.0-rc.24
🔄 Frequency
Always - Happens every time
✅ Expected Behavior
The docs sound like this flag works even if none of the workspace's packages list the script.
FWIW, NPM doesn't have a problem here.
❌ Actual Behavior
It errors as if the flag was not passed.
🔄 Steps to Reproduce
vltpkg/src/cli-sdk/test/commands/run.ts
Line 170 in 9f94bf4
vltpkg/src/cli-sdk/test/commands/run.ts
Lines 201 to 205 in 9f94bf4
🌍 Environment
🔄 Frequency
Always - Happens every time