diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-02-01 03:16:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 02:16:52 +0000 |
commit | 830d096b66696ad9f4e67b3ed8460fb1ff7a9170 (patch) | |
tree | efa513f071b65888f407fbe1f54fc4c2531c471b /cli/args | |
parent | fddbb018c1f2467eef49fdef46488337b869fc38 (diff) |
fix(publish): rename --no-fast-check to --no-zap (#22214)
Also prints an information about the flag when there are `zap` errors.
Diffstat (limited to 'cli/args')
-rw-r--r-- | cli/args/flags.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 3708f0d98..aa59eb36a 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -301,7 +301,7 @@ pub struct VendorFlags { pub struct PublishFlags { pub token: Option<String>, pub dry_run: bool, - pub no_fast_check: bool, + pub no_zap: bool, } #[derive(Clone, Debug, Eq, PartialEq)] @@ -2386,9 +2386,9 @@ fn publish_subcommand() -> Command { .action(ArgAction::SetTrue), ) .arg( - Arg::new("no-fast-check") - .long("no-fast-check") - .help("Skip Fast Check compatibility validation") + Arg::new("no-zap") + .long("no-zap") + .help("Skip Zap compatibility validation") .action(ArgAction::SetTrue), ) }) @@ -3824,7 +3824,7 @@ fn publish_parse(flags: &mut Flags, matches: &mut ArgMatches) { flags.subcommand = DenoSubcommand::Publish(PublishFlags { token: matches.remove_one("token"), dry_run: matches.get_flag("dry-run"), - no_fast_check: matches.get_flag("no-fast-check"), + no_zap: matches.get_flag("no-zap"), }); } |