diff options
Diffstat (limited to 'cli/tools/lint/mod.rs')
-rw-r--r-- | cli/tools/lint/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/lint/mod.rs b/cli/tools/lint/mod.rs index ee7350fb4..1b81fca5a 100644 --- a/cli/tools/lint/mod.rs +++ b/cli/tools/lint/mod.rs @@ -263,7 +263,7 @@ async fn lint_files( } fn collect_lint_files(files: FilePatterns) -> Result<Vec<PathBuf>, AnyError> { - FileCollector::new(|path, _| is_script_ext(path)) + FileCollector::new(|e| is_script_ext(e.path)) .ignore_git_folder() .ignore_node_modules() .ignore_vendor_folder() |