fix: support / separator in split command (#997)

This commit is contained in:
Charles Treatman
2023-01-25 05:54:25 -06:00
committed by GitHub
parent a5b4d4a551
commit 494dfb82be
4 changed files with 245 additions and 0 deletions

View File

@@ -210,6 +210,7 @@ export function writeYaml(data: any, filename: string, noRefs = false) {
process.stderr.write(content);
return;
}
fs.mkdirSync(dirname(filename), { recursive: true });
fs.writeFileSync(filename, content);
}