We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae09ff8 commit 97f032cCopy full SHA for 97f032c
resources/diff-npm-package.ts
@@ -33,7 +33,7 @@ if (diff === '') {
33
console.log('No changes found!');
34
} else {
35
const reportPath = localRepoPath('reports', 'npm-dist-diff.html');
36
- if (!fs.existsSync) {
+ if (!fs.existsSync(reportPath)) {
37
fs.mkdirSync(reportPath);
38
}
39
fs.writeFileSync(reportPath, generateReport(diff));
0 commit comments