diff options
Diffstat (limited to 'cli/tools/lint/mod.rs')
-rw-r--r-- | cli/tools/lint/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/tools/lint/mod.rs b/cli/tools/lint/mod.rs index 1240b391f..ee7350fb4 100644 --- a/cli/tools/lint/mod.rs +++ b/cli/tools/lint/mod.rs @@ -184,7 +184,9 @@ async fn lint_files( .filter_map(|p| ModuleSpecifier::from_file_path(p).ok()) .collect::<HashSet<_>>(); futures.push(deno_core::unsync::spawn(async move { - let graph = module_graph_creator.create_publish_graph(&members).await?; + let graph = module_graph_creator + .create_and_validate_publish_graph(&members, true) + .await?; // todo(dsherret): this isn't exactly correct as linting isn't properly // setup to handle workspaces. Iterating over the workspace members // should be done at a higher level because it also needs to take into |