summaryrefslogtreecommitdiff
path: root/cli/tools/registry/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/registry/mod.rs')
-rw-r--r--cli/tools/registry/mod.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs
index cc2488a10..b2e7b2aad 100644
--- a/cli/tools/registry/mod.rs
+++ b/cli/tools/registry/mod.rs
@@ -641,7 +641,7 @@ async fn publish_package(
async fn prepare_packages_for_publishing(
cli_factory: &CliFactory,
- no_fast_check: bool,
+ no_zap: bool,
diagnostics_collector: &PublishDiagnosticsCollector,
deno_json: ConfigFile,
import_map: Arc<ImportMap>,
@@ -664,7 +664,7 @@ async fn prepare_packages_for_publishing(
module_graph_builder,
type_checker,
cli_options,
- no_fast_check,
+ no_zap,
diagnostics_collector,
&[MemberRoots {
name: get_deno_json_package_name(&deno_json)?,
@@ -695,7 +695,7 @@ async fn prepare_packages_for_publishing(
module_graph_builder,
type_checker,
cli_options,
- no_fast_check,
+ no_zap,
diagnostics_collector,
&roots,
)
@@ -740,7 +740,7 @@ async fn build_and_check_graph_for_publish(
module_graph_builder: &ModuleGraphBuilder,
type_checker: &TypeChecker,
cli_options: &CliOptions,
- no_fast_check: bool,
+ no_zap: bool,
diagnostics_collector: &PublishDiagnosticsCollector,
packages: &[MemberRoots],
) -> Result<Arc<deno_graph::ModuleGraph>, deno_core::anyhow::Error> {
@@ -764,7 +764,7 @@ async fn build_and_check_graph_for_publish(
collect_invalid_external_imports(&graph, diagnostics_collector);
let mut has_fast_check_diagnostics = false;
- if !no_fast_check {
+ if !no_zap {
log::info!("Checking fast check type graph for errors...");
has_fast_check_diagnostics = collect_fast_check_type_graph_diagnostics(
&graph,
@@ -831,7 +831,7 @@ pub async fn publish(
let (publish_order_graph, prepared_package_by_name) =
prepare_packages_for_publishing(
&cli_factory,
- publish_flags.no_fast_check,
+ publish_flags.no_zap,
&diagnostics_collector,
config_file.clone(),
import_map,