0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-20 12:22:52 -05:00
denoland-deno/cli/tools
David Sherret 9e64f63253 refactor: remove usages of map_or / map_or_else (#18212)
These methods are confusing because the arguments are backwards. I feel
like they should have never been added to `Option<T>` and that clippy
should suggest rewriting to
`map(...).unwrap_or(...)`/`map(...).unwrap_or_else(|| ...)`

https://github.com/rust-lang/rfcs/issues/1025
2023-03-16 11:59:57 +09:00
..
coverage refactor: remove usages of map_or / map_or_else (#18212) 2023-03-16 11:59:57 +09:00
init chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
repl refactor: remove usages of map_or / map_or_else (#18212) 2023-03-16 11:59:57 +09:00
vendor refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
bench.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-16 11:57:00 +09:00
bundle.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-16 11:57:00 +09:00
check.rs fix(check): regression where config "types" entries caused type checking errors (#18124) 2023-03-16 11:54:35 +09:00
doc.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
fmt.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
info.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
installer.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
lint.rs chore(cli): update deno_lint to 0.41.0 (#17997) 2023-03-10 12:44:45 +09:00
mod.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
run.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-16 11:57:00 +09:00
standalone.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
task.rs fix: lazily surface errors in package.json deps parsing (#17974) 2023-03-10 12:46:44 +09:00
test.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-16 11:57:00 +09:00
upgrade.rs perf: do not depend on iana-time-zone (#18088) 2023-03-16 11:59:02 +09:00