fix(schema-diff): guard deploy script execution

This commit is contained in:
skyler authored and GitHub committed 2026-08-30 10:35:08 +08:00
1 parent 469bd88c37
commit f664918e95
6 files changed
+125 -18

No files matched your search

@@ -120,5 +120,7 @@ describe("SchemaDiffDialog fullscreen layout", () => {
expect(dialogSource).toContain("sql: selectedDeploySql.value");
expect(dialogSource).toContain("[selectedDeploySql.value]");
expect(dialogSource).toContain("selectedObjectId.value !== objectId");
expect(dialogSource).toContain('selectedDeploySql.value = "";');
expect(dialogSource).toContain("const sql = selectedDeploySql.value.trim();");
});
});