summaryrefslogtreecommitdiff
path: root/cli/tools/repl/mod.rs
AgeCommit message (Collapse)Author
2021-12-18refactor(repl): factor out ReplEditor and ReplSession (#13131)Bartek Iwańczuk
2021-12-15feat: REPL import specifier auto-completions (#13078)David Sherret
2021-12-11fix: op_set_exit_code (#13034)Bartek Iwańczuk
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-08fix: upgrade swc fixing many bundling and `--no-check` bugs (#13025)David Sherret
2021-11-25refactor(repl): move rustyline sync channel communication into struct (#12900)David Sherret