Skip to content

Commit

Permalink
fix: write empty manifestjson on init
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Mar 1, 2023
1 parent 374505d commit 18fd608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/manifestCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class ManifestCache {

const parsedCache = this.readCacheFromFile()

if (eq(parsedCache, orderdCache) || isEmptyObject(orderdCache)) {
if (!isEmptyObject(parsedCache) && eq(parsedCache, orderdCache)) {
return
}

Expand Down

0 comments on commit 18fd608

Please sign in to comment.