Skip to content

Commit 82f467d

Browse files
committed
rebase & clippy
1 parent 57426e5 commit 82f467d

File tree

2 files changed

+2
-200
lines changed

2 files changed

+2
-200
lines changed

crates/biome_graphql_formatter/tests/specs/prettier/graphql/trailing-comma/trailing.graphql.snap

-197
This file was deleted.

crates/biome_service/src/settings.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -892,9 +892,8 @@ impl OverrideSettings {
892892
.rev()
893893
.find_map(|pattern| {
894894
// Early return to avoid unnecessary clone
895-
if pattern.languages.javascript.globals.is_none() {
896-
return None;
897-
}
895+
pattern.languages.javascript.globals.as_ref()?;
896+
898897
if pattern.include.matches_path(path) && !pattern.exclude.matches_path(path) {
899898
pattern.languages.javascript.globals.clone()
900899
} else {

0 commit comments

Comments
 (0)