Skip to content

Commit d870279

Browse files
committed
u
1 parent 2e680d6 commit d870279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/rules/import/extensions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn extension_should_not_be_included_in_diagnostic(
1919
let import_or_export = if is_import { "import" } else { "export" };
2020

2121
OxcDiagnostic::warn(format!(
22-
"File extension \"{extension}\" should not be included in the {import_or_export} declaration."
22+
r#"File extension "{extension}" should not be included in the {import_or_export} declaration."#
2323
))
2424
.with_help(format!("Remove the file extension from this {import_or_export}."))
2525
.with_label(span)

0 commit comments

Comments
 (0)