Skip to content

Commit d327694

Browse files
committed
fix: migrate options for jsYaml
Assisted-by: <Cursor> Signed-off-by: Denis Golovin <dgolovin@redhat.com>
1 parent 24e1899 commit d327694

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/kubeconfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function exportToFile(kubeconfig: KubeConfig, configLocation: string): vo
3434
fs.ensureFileSync(configLocation);
3535
fs.writeFileSync(
3636
configLocation,
37-
jsYaml.dump(configContents, { noArrayIndent: true, quotingType: '"', lineWidth: -1 }),
37+
jsYaml.dump(configContents, { seqNoIndent: true, quoteStyle: 'double', lineWidth: -1 }),
3838
'utf-8',
3939
);
4040
}

0 commit comments

Comments
 (0)