Skip to content

Commit 144ab1b

Browse files
Update scripts/utils.mjs
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
1 parent 09ded3d commit 144ab1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/utils.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const samePropertyRuns = (codePointProperties) => {
7777
};
7878

7979
// Only write the file if its content has changed.
80-
// Avoid the unnecessary filesystem I/O
80+
// Reading files is cheaper than writing files, and most files don’t change between builds.
8181
const writeFileIfChanged = (filePath, content) => {
8282
try {
8383
if (fs.readFileSync(filePath, 'utf8') === content) {

0 commit comments

Comments
 (0)