Skip to content

Commit b55bc53

Browse files
committed
Change cache extension to *.tmp.js
1 parent 68f0625 commit b55bc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = node => {
6464

6565
let text, json, hash;
6666
if (cachePath) {
67-
hash = cachePath + crypto.createHash('sha256').update(url).digest('hex') + '.json';
67+
hash = cachePath + crypto.createHash('sha256').update(url).digest('hex') + '.tmp.js';
6868
try {
6969
text = await readFileAsync(hash, 'utf8');
7070
node.debug('Load JSON from disk cache: ' + url);

0 commit comments

Comments
 (0)