Skip to content

Commit 94bd1de

Browse files
IvanGoncharovyaacovCR
authored andcommitted
Remove 'utf-8' as argument of writeFileSync (#3608)
1 parent f7a2cad commit 94bd1de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/diff-npm-package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (diff === '') {
3434
console.log('No changes found!');
3535
} else {
3636
const reportPath = path.join(localRepoDir, 'npm-dist-diff.html');
37-
fs.writeFileSync(reportPath, generateReport(diff), 'utf-8');
37+
fs.writeFileSync(reportPath, generateReport(diff));
3838
console.log('Report saved to: ', reportPath);
3939
}
4040

0 commit comments

Comments
 (0)