Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn committed Nov 27, 2024
1 parent 662fe74 commit 81d8e84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/workspace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1486,9 +1486,7 @@ impl WorkspaceDirectory {
cli_args: FilePatterns,
) -> Result<FilePatterns, AnyError> {
let Some(deno_json) = self.deno_json.as_ref() else {
return Ok(FilePatterns::new_with_base(
url_to_file_path(&self.dir_url).unwrap(),
));
return Ok(cli_args);
};
let member_patterns = deno_json.member.to_exclude_files_config()?;
let mut patterns = match &deno_json.root {
Expand Down

0 comments on commit 81d8e84

Please sign in to comment.