From 18548d4d659c1498395a752cbf7315129d6bd71a Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Mon, 27 Jan 2025 17:34:50 -0500 Subject: [PATCH] fix(migrate): fix a typo in organizeImports migration message --- crates/biome_migrate/src/analyzers/organize_imports.rs | 2 +- .../tests/specs/migrations/organizeImports/invalid.json.snap | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/biome_migrate/src/analyzers/organize_imports.rs b/crates/biome_migrate/src/analyzers/organize_imports.rs index 902c288a110e..f5a685b232e8 100644 --- a/crates/biome_migrate/src/analyzers/organize_imports.rs +++ b/crates/biome_migrate/src/analyzers/organize_imports.rs @@ -66,7 +66,7 @@ impl Rule for OrganizeImports { } .to_owned(), ).note(markup!{ - "The import sorting was the first assist action, however Biome analyzer infrastructure wasn't mature enough, so it was exposed as a standalone tool. The infrastructure is now read to welcome it as an assist action." + "The import sorting was the first assist action, however Biome analyzer infrastructure wasn't mature enough, so it was exposed as a standalone tool. The infrastructure is now ready to welcome it as an assist action." })) } diff --git a/crates/biome_migrate/tests/specs/migrations/organizeImports/invalid.json.snap b/crates/biome_migrate/tests/specs/migrations/organizeImports/invalid.json.snap index cbbe11897fe1..54cc6b07a90b 100644 --- a/crates/biome_migrate/tests/specs/migrations/organizeImports/invalid.json.snap +++ b/crates/biome_migrate/tests/specs/migrations/organizeImports/invalid.json.snap @@ -1,7 +1,6 @@ --- source: crates/biome_migrate/tests/spec_tests.rs expression: invalid.json -snapshot_kind: text --- # Input ```json @@ -26,7 +25,7 @@ invalid.json:3:5 migrate FIXABLE ━━━━━━━━━━━━━━━ 4 │ } 5 │ } - i The import sorting was the first assist action, however Biome analyzer infrastructure wasn't mature enough, so it was exposed as a standalone tool. The infrastructure is now read to welcome it as an assist action. + i The import sorting was the first assist action, however Biome analyzer infrastructure wasn't mature enough, so it was exposed as a standalone tool. The infrastructure is now ready to welcome it as an assist action. i Safe fix: Remove the old configuration, and turn off the relative assist action.