summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-04-26 10:10:57 -0400
committerGitHub <noreply@github.com>2021-04-26 10:10:57 -0400
commit9c3da280e0b8331861d3420ea4b5cedc2b6131b0 (patch)
tree83c85bd051676df11c059845e449e944f54da982 /cli
parentcdd2355f0f516e55ef638f38006677003685a92f (diff)
remove #![deny(warnings)] (#10376)
Prefer RUSTFLAGS="-D warnings" to prevent warnings, but cannot enable yet due to #10378.
Diffstat (limited to 'cli')
-rw-r--r--cli/main.rs2
-rw-r--r--cli/main_runtime.rs2
-rw-r--r--cli/tests/integration_tests.rs3
3 files changed, 1 insertions, 6 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 38e67f46a..319811460 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -1,7 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-#![deny(warnings)]
-
mod ast;
mod auth_tokens;
mod checksum;
diff --git a/cli/main_runtime.rs b/cli/main_runtime.rs
index 23f1c23b6..83c74ceaa 100644
--- a/cli/main_runtime.rs
+++ b/cli/main_runtime.rs
@@ -1,7 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-#![deny(warnings)]
-
mod colors;
mod standalone;
mod tokio_util;
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 770e87244..50c70213a 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -5384,8 +5384,7 @@ console.log("finish");
.wait_with_output()
.unwrap();
assert!(output.status.success());
- let exists = std::path::Path::new(&exe).exists();
- assert!(exists, true);
+ assert!(std::path::Path::new(&exe).exists());
}
#[test]