summaryrefslogtreecommitdiff
path: root/cli/ops/runtime_compiler.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-12-23 00:25:06 +1100
committerGitHub <noreply@github.com>2021-12-22 14:25:06 +0100
commit8547a37132752cf6a979237c5a52a7bf16a4e833 (patch)
tree10e14c5aa8675bf75c8aa66bf7bf1f7de6948fee /cli/ops/runtime_compiler.rs
parentac06797fa8607f2e15477fe1b038215740a5747d (diff)
chore: update deno_graph and deno_doc (#13173)
Diffstat (limited to 'cli/ops/runtime_compiler.rs')
-rw-r--r--cli/ops/runtime_compiler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs
index fb5b07878..46aaafd09 100644
--- a/cli/ops/runtime_compiler.rs
+++ b/cli/ops/runtime_compiler.rs
@@ -221,7 +221,7 @@ async fn op_emit(
// There are certain graph errors that we want to return as an error of an op,
// versus something that gets returned as a diagnostic of the op, this is
// handled here.
- if let Err(err) = graph_valid(&graph, check) {
+ if let Err(err) = graph_valid(&graph, check, true) {
if get_error_class_name(&err) == "PermissionDenied" {
return Err(err);
}