We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ee028 commit 61671c1Copy full SHA for 61671c1
packages/cdktf-cli/src/bin/cmds/ui/synth.tsx
@@ -25,8 +25,11 @@ type SynthOutputConfig = {
25
const SynthOutput = ({ stacks }: SynthOutputConfig): React.ReactElement => {
26
return (
27
<Text>
28
- Generated Terraform code for the stacks:{" "}
29
- {stacks?.map((s) => s.name).join(", ")}
+ {stacks?.length ? (
+ `Generated Terraform code for the stacks: ${stacks.map((s) => s.name).join(", ")}`
30
+ ) : (
31
+ "No stacks found in configuration."
32
+ )}
33
</Text>
34
);
35
};
0 commit comments