mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
this doesn't seem right
This commit is contained in:
parent
f12828756a
commit
3269ebcfe1
2 changed files with 4 additions and 2 deletions
|
@ -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 a new issue