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 338e3dd commit 7532a5cCopy full SHA for 7532a5c
resources/diff-npm-package.ts
@@ -33,6 +33,9 @@ if (diff === '') {
33
console.log('No changes found!');
34
} else {
35
const reportPath = localRepoPath('reports', 'npm-dist-diff.html');
36
+ if (!fs.existsSync(reportPath)) {
37
+ fs.mkdirSync(reportPath);
38
+ }
39
fs.writeFileSync(reportPath, generateReport(diff));
40
console.log('Report saved to: ', reportPath);
41
}
0 commit comments