We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bun run <missing.ts>
0.7.2
Darwin 22.6.0 arm64 arm
$ bun run missing.ts error: missing script "missing.ts" $ echo $? 0
Exit status should be non-zero.
Node.js: 1
1
❯ node missing.js node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module '/Users/azu/ghq/github.com/azu/bluenotiondb/missing.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.17.0 ❯ echo $? 1
Deno: 130
130
❯ deno run missing.ts error: Module not found "file:///Users/azu/ghq/github.com/azu/bluenotiondb/missing.ts". ❯ echo $? 130
bun run missing.ts exits with 0.
bun run missing.ts
0
This behaviour caused problems where CI would pass even if the wrong file name was specified.
bun run show error: missing script "index.ts", but this CI is passed.
bun run
error: missing script "index.ts"
The text was updated successfully, but these errors were encountered:
yes it should, thank you for flagging
Sorry, something went wrong.
Fixed by @YashoSharma in #4026
No branches or pull requests
What version of Bun is running?
0.7.2
What platform is your computer?
Darwin 22.6.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
Exit status should be non-zero.
Node.js:
1
Deno:
130
What do you see instead?
bun run missing.ts
exits with0
.Additional information
This behaviour caused problems where CI would pass even if the wrong file name was specified.
bun run
showerror: missing script "index.ts"
, but this CI is passed.The text was updated successfully, but these errors were encountered: