Skip to content
Prev Previous commit
Next Next commit
fix: perf bug
  • Loading branch information
eryue0220 committed Jul 24, 2024
commit 63578f57433c4fe4ee60ce9ea3c7b81a7313e603
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use oxc_span::Span;
use crate::{context::LintContext, rule::Rule};

fn no_import_node_test(span0: Span) -> OxcDiagnostic {
OxcDiagnostic::warn("disallow importing `node:test`")
OxcDiagnostic::warn("disallow importing `node:test`".to_string())
.with_help("Import from `vitest` instead of `node:test`")
.with_label(span0)
}
Expand Down