summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/Cargo.toml2
-rw-r--r--cli/tools/registry/mod.rs4
2 files changed, 4 insertions, 2 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 9a6a8ee57..77e67d118 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -68,7 +68,7 @@ deno_config = "=0.14.1"
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = { version = "=0.113.1", features = ["html"] }
deno_emit = "=0.38.2"
-deno_graph = { version = "=0.69.6", features = ["tokio_executor"] }
+deno_graph = { version = "=0.69.9", features = ["tokio_executor"] }
deno_lint = { version = "=0.57.1", features = ["docs"] }
deno_lockfile.workspace = true
deno_npm = "=0.17.0"
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.");
}