Skip to content
Snippets Groups Projects
Commit 466cb07d authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor: changelog filename

parent 373b9d8a
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,6 @@ const fs = require('fs-extra'); ...@@ -2,6 +2,6 @@ const fs = require('fs-extra');
const os = require('os'); const os = require('os');
(async () => { (async () => {
await fs.remove(os.tmpdir() + '/renovate-cache-changelog'); await fs.remove(os.tmpdir() + '/renovate-cache-changelog-v2');
await fs.remove(os.tmpdir() + '/renovate-npm-cache'); await fs.remove(os.tmpdir() + '/renovate-npm-cache');
})(); })();
...@@ -9,7 +9,7 @@ module.exports = { ...@@ -9,7 +9,7 @@ module.exports = {
function getCache({ depName, fromVersion, toVersion }) { function getCache({ depName, fromVersion, toVersion }) {
const tmpdir = process.env.RENOVATE_TMPDIR || os.tmpdir(); const tmpdir = process.env.RENOVATE_TMPDIR || os.tmpdir();
const cachePath = tmpdir + '/renovate-cache-changelog'; const cachePath = tmpdir + '/renovate-cache-changelog-v2';
const cacheKey = `${depName}-${fromVersion}-${toVersion}`; const cacheKey = `${depName}-${fromVersion}-${toVersion}`;
return [cachePath, cacheKey]; return [cachePath, cacheKey];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment