refactor(housekeeping): adopt ase route namespace
This commit is contained in:
@@ -84,11 +84,9 @@ export function validateMigrationEntries(
|
||||
if (
|
||||
entry.targetPath !== null &&
|
||||
entry.decision !== "REMOVE" &&
|
||||
!entry.targetPath.startsWith("/admin/")
|
||||
!(entry.targetPath === "/ase" || entry.targetPath.startsWith("/ase/"))
|
||||
) {
|
||||
issues.add(
|
||||
`non-REMOVE targetPath must start with /admin/: ${legacyPath}`,
|
||||
);
|
||||
issues.add(`non-REMOVE targetPath must use /ase: ${legacyPath}`);
|
||||
}
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user