We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
writeFileSync
1 parent bd2c417 commit 14a9118Copy full SHA for 14a9118
1 file changed
resources/diff-npm-package.ts
@@ -34,7 +34,7 @@ if (diff === '') {
34
console.log('No changes found!');
35
} else {
36
const reportPath = path.join(localRepoDir, 'npm-dist-diff.html');
37
- fs.writeFileSync(reportPath, generateReport(diff), 'utf-8');
+ fs.writeFileSync(reportPath, generateReport(diff));
38
console.log('Report saved to: ', reportPath);
39
}
40
0 commit comments