Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit783c9d6

Browse files
committed
Build: make compare size cache readable for manual edits
Refgh-5440
1 parent8a3a74c commit783c9d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎build/tasks/compare_size.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ function cacheResults( results ) {
6060
}
6161

6262
functionsaveCache(loc,cache){
63-
returnfs.writeFile(loc,JSON.stringify(cache));
63+
64+
// Keep cache readable for manual edits
65+
returnfs.writeFile(loc,JSON.stringify(cache,null," ")+"\n");
6466
}
6567

6668
functioncompareSizes(existing,current,padLength){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp