1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/cli/tools
Bartek Iwańczuk 0dec9b4381
fix: op_set_exit_code (#13034)
Fixes "op_set_exit_code" by sharing a single "Arc" between
all workers (via "op state") instead of having a "global" value stored in
"deno_runtime" crate. As a consequence setting an exit code is always
scoped to a tree of workers, instead of being overridable if there are
multiple worker tree (like in "deno test --jobs" subcommand).

Refactored "cli/main.rs" functions to return "Result<i32, AnyError>" instead
of "Result<(), AnyError>" so they can return exit code.
2021-12-11 15:56:45 +01:00
..
repl fix: op_set_exit_code (#13034) 2021-12-11 15:56:45 +01:00
coverage.rs feat(cli): use deno fmt for lock and coverage files (#13018) 2021-12-07 19:21:04 -05:00
doc.rs feat(cli): support React 17 JSX transforms (#12631) 2021-11-09 12:26:39 +11:00
fmt.rs fix(watch): mitigate race condition between file write by other process and watch read (#13038) 2021-12-09 20:24:37 -05:00
installer.rs chore: upgrade to Rust 1.57.0 (#12968) 2021-12-04 14:19:06 +01:00
lint.rs refactor(cli): simplify lint/format resolver logic (#12898) 2021-11-29 09:17:57 -05:00
mod.rs refactor(cli): introduce module specifier test modes (#11769) 2021-08-26 21:21:58 +02:00
standalone.rs feat: add --no-check=remote flag (#12766) 2021-11-30 09:23:30 +11:00
test.rs fix(cli): short-circuit in prepare_module_load() (#12604) 2021-11-16 10:25:52 +11:00
upgrade.rs refactor: re-export anyhow from deno_core (#12777) 2021-11-16 09:02:28 -05:00