Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit 1ad162b

Browse files
authored
fix(components): wrong yaml config format
Signed-off-by: Wibus <[email protected]>
1 parent 6829c6e commit 1ad162b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/EnvVariableConfig/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function EnvVariableConfig({ variableNames, format }: { variableNames: {
66

77
const handleCopy = () => {
88
if (format === 'yaml') {
9-
const yamlContent = variableNames.map((name, index) => `- ${name.key}: ${values[index]}`).join('\n');
9+
const yamlContent = variableNames.map((name, index) => `- ${name.key}=${values[index]}`).join('\n');
1010
copy(yamlContent);
1111
return;
1212
}
@@ -67,4 +67,4 @@ export function EnvVariableConfig({ variableNames, format }: { variableNames: {
6767
</div>
6868
</div>
6969
);
70-
}
70+
}

0 commit comments

Comments
 (0)