mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
this doesn't seem right
This commit is contained in:
parent
f12828756a
commit
3269ebcfe1
@ -293,8 +293,10 @@ impl WorkspaceLinter {
|
||||
deno_lint_config: lint_config,
|
||||
}));
|
||||
|
||||
eprintln!("paths {:#?}", paths);
|
||||
let mut futures = Vec::with_capacity(2);
|
||||
if linter.has_package_rules() {
|
||||
// Package rules are only in effect if user didn't explicitly specify paths on the command line
|
||||
if paths.is_empty() && linter.has_package_rules() {
|
||||
if self.workspace_module_graph.is_none() {
|
||||
let module_graph_creator = self.module_graph_creator.clone();
|
||||
let packages = self.workspace_dir.jsr_packages_for_publish();
|
||||
|
@ -6,7 +6,7 @@
|
||||
},
|
||||
"run_file": {
|
||||
"args": "lint main.ts",
|
||||
"output": "output.out"
|
||||
"output": "Checked 1 file\n"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user