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 433f38084b
fix(repl): more reliable history handling (#16797)
This commit changes history handling of the REPL.

There were some situations were history wasn't properly saved and flushed to a
file, making history very spotty. This commit changes it to save every line into
the history file and flush it to disk before being evaluated.

Thanks to this all lines, including "close()" will be stored in the history
file.

If for any reason we're not able to save history file, a single warning will be
printed to the REPL and it will continue to work, even if subsequent tries will
fail to save to disk.
2022-11-25 02:56:47 +01:00
..
coverage chore: use Rust 1.65.0 (#16688) 2022-11-18 02:59:10 +01:00
init fix(init): suppress info logs when using quiet mode (#15741) 2022-09-02 17:59:36 +02:00
repl fix(repl): more reliable history handling (#16797) 2022-11-25 02:56:47 +01:00
vendor chore: use Rust 1.65.0 (#16688) 2022-11-18 02:59:10 +01:00
bench.rs feat(core): Ability to create snapshots from existing snapshots (#16597) 2022-11-21 14:36:26 +01:00
check.rs feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
doc.rs refactor: move deno info functionality from deno_graph to CLI (#16434) 2022-10-28 11:03:33 -04:00
fmt.rs chore: use Rust 1.65.0 (#16688) 2022-11-18 02:59:10 +01:00
info.rs fix(info): handle circular npm dependencies (#16692) 2022-11-17 21:22:28 -05:00
installer.rs fix(install): deno install -f should overwrite lockfile from previous installation (#16744) 2022-11-21 14:24:51 -05:00
lint.rs feat(lint): add a report lint config setting (#16045) 2022-10-25 14:21:20 +02:00
mod.rs refactor: move deno info functionality from deno_graph to CLI (#16434) 2022-10-28 11:03:33 -04:00
standalone.rs chore: use Rust 1.65.0 (#16688) 2022-11-18 02:59:10 +01:00
task.rs feat(task): remove warning about being unstable (#16281) 2022-10-18 14:39:04 +02:00
test.rs feat(core): Ability to create snapshots from existing snapshots (#16597) 2022-11-21 14:36:26 +01:00
upgrade.rs fix(upgrade): don't prompt if current version has changed (#16542) 2022-11-05 19:06:58 -04:00