We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fbbee7 commit 2e2217aCopy full SHA for 2e2217a
src/index.js
@@ -501,6 +501,7 @@ class DiffDevProdCommand extends Command {
501
const raw_html_diff = Diff2html.html(diff_output);
502
const html_diff = createHtmlDiff({ title: root_domain, diff: raw_html_diff });
503
504
+ await fs.ensureDir(path.dirname(output_filename));
505
await fs.writeFile(output_filename, html_diff);
506
loud && this.log(chalk.green(`Written to ${chalk.blue(output_filename)}`));
507
}
0 commit comments