mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-07 12:47:49 +00:00
fix: support / separator in split command (#997)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user