Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit a7c2ce4

Browse files
yradsmikhambnookala
authored andcommitted
increase yaml linewidth for config.yaml
1 parent e7af763 commit a7c2ce4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/config.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ export const saveConfiguration = (
266266
targetDir: string = defaultConfigDir()
267267
): void => {
268268
try {
269-
const data = yaml.safeDump(readYaml<ConfigYaml>(sourceFilePath));
269+
const data = yaml.safeDump(readYaml<ConfigYaml>(sourceFilePath), {
270+
lineWidth: Number.MAX_SAFE_INTEGER
271+
});
270272
const targetFile = path.join(targetDir, "config.yaml");
271273
fs.writeFileSync(targetFile, data);
272274
} catch (err) {

0 commit comments

Comments
 (0)