Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions resources/diff-npm-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ if (diff === '') {
console.log('No changes found!');
} else {
const reportPath = localRepoPath('reports', 'npm-dist-diff.html');
if (!fs.existsSync) {
fs.mkdirSync(reportPath);
}
fs.writeFileSync(reportPath, generateReport(diff));
console.log('Report saved to: ', reportPath);
}
Expand Down