We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f0625 commit b55bc53Copy full SHA for b55bc53
json-cache.js
@@ -64,7 +64,7 @@ module.exports = node => {
64
65
let text, json, hash;
66
if (cachePath) {
67
- hash = cachePath + crypto.createHash('sha256').update(url).digest('hex') + '.json';
+ hash = cachePath + crypto.createHash('sha256').update(url).digest('hex') + '.tmp.js';
68
try {
69
text = await readFileAsync(hash, 'utf8');
70
node.debug('Load JSON from disk cache: ' + url);
0 commit comments