1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00

this doesn't seem right

This commit is contained in:
Bartek Iwańczuk 2024-11-04 14:51:51 +01:00
parent f12828756a
commit 3269ebcfe1
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750
2 changed files with 4 additions and 2 deletions

View file

@ -293,8 +293,10 @@ impl WorkspaceLinter {
deno_lint_config: lint_config, deno_lint_config: lint_config,
})); }));
eprintln!("paths {:#?}", paths);
let mut futures = Vec::with_capacity(2); 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() { if self.workspace_module_graph.is_none() {
let module_graph_creator = self.module_graph_creator.clone(); let module_graph_creator = self.module_graph_creator.clone();
let packages = self.workspace_dir.jsr_packages_for_publish(); let packages = self.workspace_dir.jsr_packages_for_publish();

View file

@ -6,7 +6,7 @@
}, },
"run_file": { "run_file": {
"args": "lint main.ts", "args": "lint main.ts",
"output": "output.out" "output": "Checked 1 file\n"
} }
} }
} }