Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Oct 19, 2023
1 parent be96785 commit 3c29550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/biome_service/src/file_handlers/javascript.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ fn parse(
let parser_settings = &settings.as_ref().languages.javascript.parser;
let overrides = &settings.as_ref().override_settings;
let options = overrides
.as_js_parser_options(&rome_path)
.as_js_parser_options(rome_path)
.unwrap_or(JsParserOptions {
parse_class_parameter_decorators: parser_settings.parse_class_parameter_decorators,
});
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_service/src/file_handlers/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ fn parse(
});
let options: JsonParserOptions =
overrides
.as_json_parser_options(&rome_path)
.as_json_parser_options(rome_path)
.unwrap_or(JsonParserOptions {
allow_comments: parser.allow_comments
|| source_type.is_jsonc()
Expand Down

0 comments on commit 3c29550

Please sign in to comment.