Skip to content

Commit 97f032c

Browse files
authored
Apply suggestions from code review
1 parent ae09ff8 commit 97f032c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/diff-npm-package.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (diff === '') {
3333
console.log('No changes found!');
3434
} else {
3535
const reportPath = localRepoPath('reports', 'npm-dist-diff.html');
36-
if (!fs.existsSync) {
36+
if (!fs.existsSync(reportPath)) {
3737
fs.mkdirSync(reportPath);
3838
}
3939
fs.writeFileSync(reportPath, generateReport(diff));

0 commit comments

Comments
 (0)