mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: make compare size cache readable for manual edits
Ref gh-5441
This commit is contained in:
parent
fa3f5603d8
commit
b56c6a415e
@ -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