From bb0b094002625af83fbbc77e73625d4951fba23a Mon Sep 17 00:00:00 2001 From: Ap_Tx <3045929398@qq.com> Date: Sun, 4 Oct 2026 13:39:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20migration=20guard=20=E8=B1=81=E5=85=8D?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/axolotl/check-migrations.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/axolotl/check-migrations.mjs b/scripts/axolotl/check-migrations.mjs index 69f6d6d..bbae8a4 100644 --- a/scripts/axolotl/check-migrations.mjs +++ b/scripts/axolotl/check-migrations.mjs @@ -91,6 +91,10 @@ function compareCurrentWithCanonical(canonical, currentRef, failures, warnings = for (const [file, expected] of canonical) { const actual = current.get(file) if (!actual) { + if (allowedHistoricalFixes.has(file)) { + warnings.push(`ALLOWED DELETED ${file}`) + continue + } failures.push(`DELETED ${file}`) continue }