David Sherret 2024-03-12 13:45:38 -04:00 committed by GitHub
parent de28e6fc09
commit c10d96cb21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 6 deletions

8
Cargo.lock generated
View File

@ -1438,9 +1438,9 @@ dependencies = [
[[package]]
name = "deno_graph"
version = "0.69.6"
version = "0.69.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9d04f8bc8d8a40369e8549d15f6b315ffe025d0048fcd3c541f90647471f670"
checksum = "83db0d70113af5ef5775c3d8fb9c17ab471ca69acb400d56b5de0dc1c8f6ede7"
dependencies = [
"anyhow",
"async-trait",
@ -7320,7 +7320,7 @@ dependencies = [
"codespan-reporting",
"log",
"naga",
"parking_lot 0.11.2",
"parking_lot 0.12.1",
"profiling",
"raw-window-handle",
"ron",
@ -7361,7 +7361,7 @@ dependencies = [
"naga",
"objc",
"once_cell",
"parking_lot 0.11.2",
"parking_lot 0.12.1",
"profiling",
"range-alloc",
"raw-window-handle",

View File

@ -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"

View File

@ -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.");
}