diff options
author | Luca Casonato <hello@lcas.dev> | 2024-02-19 13:02:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 13:02:40 +0100 |
commit | 15c64365a258e6498fa04c34c75813e9486397c2 (patch) | |
tree | be6ad528af98720a0b718dae2301c5074118909c /cli/args/flags.rs | |
parent | 7531b3500a8f80a0b19cd7f156a43da2ae731028 (diff) |
fix: write lockfile in `deno info` (#22272)
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r-- | cli/args/flags.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 59d747167..3b6810a95 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -1784,8 +1784,9 @@ TypeScript compiler cache: Subdirectory containing TS compiler output.", .arg(no_config_arg()) .arg(no_remote_arg()) .arg(no_npm_arg()) - .arg(no_lock_arg()) .arg(lock_arg()) + .arg(lock_write_arg()) + .arg(no_lock_arg()) .arg(config_arg()) .arg(import_map_arg()) .arg(node_modules_dir_arg()) @@ -3506,8 +3507,7 @@ fn info_parse(flags: &mut Flags, matches: &mut ArgMatches) { location_arg_parse(flags, matches); ca_file_arg_parse(flags, matches); node_modules_and_vendor_dir_arg_parse(flags, matches); - lock_arg_parse(flags, matches); - no_lock_arg_parse(flags, matches); + lock_args_parse(flags, matches); no_remote_arg_parse(flags, matches); no_npm_arg_parse(flags, matches); let json = matches.get_flag("json"); |