Skip to content

Commit

Permalink
修复 fis上传的时候报ERR_INVALID_ARG_TYP错误fex-team#1319
Browse files Browse the repository at this point in the history
  • Loading branch information
liubeijing committed Dec 11, 2020
1 parent c0dadc9 commit 08c1fa1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ var Cache = Object.derive(function(path, dir) {
deps: this.deps,
info: info
};
fis.util.write(this.cacheInfo, JSON.stringify(infos));
fis.util.write(this.cacheFile, content);

if (content) {
fis.util.write(this.cacheInfo, JSON.stringify(infos));
fis.util.write(this.cacheFile, content);
}
},

/**
Expand Down

0 comments on commit 08c1fa1

Please sign in to comment.