Skip to content

Commit

Permalink
chore(cli): update table alignment in deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
jianzs committed Aug 6, 2024
1 parent 317fd99 commit 3d1a531
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/serious-seas-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@plutolang/cli": patch
---

chore(cli): update table alignment in deploy command
4 changes: 2 additions & 2 deletions apps/cli/src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,15 @@ async function confirmArch(archRef: arch.Architecture, confirmed: boolean): Prom
const resource = archRef.resources[i];
const row: any[] = [resource.id, resource.name, resource.type];
if (i == 0) {
row.push({ content: "Resource", rowSpan: archRef.resources.length });
row.push({ content: "Resource", rowSpan: archRef.resources.length, vAlign: "center" });
}
resourceTable.push(row);
}
for (let i = 0; i < archRef.closures.length; i++) {
const closure = archRef.closures[i];
const row: any[] = [closure.id, "-", "-"];
if (i == 0) {
row.push({ content: "Closure", rowSpan: archRef.closures.length });
row.push({ content: "Closure", rowSpan: archRef.closures.length, vAlign: "center" });
}
resourceTable.push(row);
}
Expand Down

0 comments on commit 3d1a531

Please sign in to comment.