From c10d96cb21d5f75b4c6f7b7d8d96d12a6edeee99 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 12 Mar 2024 13:45:38 -0400 Subject: fix(slow-types): improved exports tracing and infer type literals in as exprs (#22849) Several fixes in deno_graph: * https://github.com/denoland/deno_graph/pull/411 * https://github.com/denoland/deno_graph/pull/413 * https://github.com/denoland/deno_graph/pull/414 * https://github.com/denoland/deno_graph/pull/415 * https://github.com/denoland/deno_graph/pull/416 * https://github.com/denoland/deno_graph/pull/417 Also created https://github.com/denoland/publish_smoke_tests to help prevent regressions in the future. Closes https://github.com/denoland/deno/issues/22829 Closes https://github.com/denoland/deno/issues/22819 Closes https://github.com/denoland/deno/issues/22802 --- cli/tools/registry/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/tools') diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs index d2c1010f7..cb3428b60 100644 --- a/cli/tools/registry/mod.rs +++ b/cli/tools/registry/mod.rs @@ -837,7 +837,9 @@ async fn build_and_check_graph_for_publish( colors::yellow("Warning"), ); Ok(Arc::new(graph)) - } else if std::env::var("DENO_INTERNAL_FAST_CHECK_OVERWRITE").is_ok() { + } else if std::env::var("DENO_INTERNAL_FAST_CHECK_OVERWRITE").as_deref() + == Ok("1") + { if check_if_git_repo_dirty(cli_options.initial_cwd()).await { bail!("When using DENO_INTERNAL_FAST_CHECK_OVERWRITE, the git repo must be in a clean state."); } -- cgit v1.2.3