mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
Build: make compare size cache readable for manual edits
Ref gh-5440
This commit is contained in:
parent
8a3a74c475
commit
783c9d6958
@ -60,7 +60,9 @@ function cacheResults( results ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function saveCache( loc, cache ) {
|
function saveCache( loc, cache ) {
|
||||||
return fs.writeFile( loc, JSON.stringify( cache ) );
|
|
||||||
|
// Keep cache readable for manual edits
|
||||||
|
return fs.writeFile( loc, JSON.stringify( cache, null, " " ) + "\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
function compareSizes( existing, current, padLength ) {
|
function compareSizes( existing, current, padLength ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user