diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-01 10:54:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 15:54:46 +0000 |
commit | 878384aefaafacb2dc875ba1d7ea9d4af01d2cf0 (patch) | |
tree | 6da5a6f504eb1c47f25d7475427bb08274043f72 /cli/tools/registry/mod.rs | |
parent | 404422519c229b80508f20d954d2cc38ebda9f2f (diff) |
fix(unstable/publish): repect `--no-check` in no-slow-types (#22653)
Diffstat (limited to 'cli/tools/registry/mod.rs')
-rw-r--r-- | cli/tools/registry/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs index dfbfd7ab2..dcfde2297 100644 --- a/cli/tools/registry/mod.rs +++ b/cli/tools/registry/mod.rs @@ -30,7 +30,6 @@ use crate::args::jsr_url; use crate::args::CliOptions; use crate::args::Flags; use crate::args::PublishFlags; -use crate::args::TypeCheckMode; use crate::cache::LazyGraphSourceParser; use crate::cache::ParsedSourceCache; use crate::factory::CliFactory; @@ -860,8 +859,7 @@ async fn build_and_check_graph_for_publish( lib: cli_options.ts_type_lib_window(), log_ignored_options: false, reload: cli_options.reload_flag(), - // force type checking this - type_check_mode: TypeCheckMode::Local, + type_check_mode: cli_options.type_check_mode(), }, ) .await?; |