diff --git a/lib/manager/npm/registry.js b/lib/manager/npm/registry.js index 6dda3d0b544de8ecd34ca1235725bf489a8fa98b..2f69fa90ffaf2feae72605970142a28ac7398221 100644 --- a/lib/manager/npm/registry.js +++ b/lib/manager/npm/registry.js @@ -7,7 +7,8 @@ const registryAuthToken = require('registry-auth-token'); const parse = require('github-url-from-git'); const os = require('os'); const fetch = require('make-fetch-happen').defaults({ - cacheManager: (process.env.TMPDIR || os.tmpdir()) + '/renovate-npm-cache', + cacheManager: + (process.env.RENOVATE_TMPDIR || os.tmpdir()) + '/renovate-npm-cache', }); module.exports = { diff --git a/lib/workers/pr/changelog.js b/lib/workers/pr/changelog.js index 2a41e823a87904fcfc7deb0cd5851ecd4a1b41c8..fb66ed98566857d2411271b5155c484317c2f048 100644 --- a/lib/workers/pr/changelog.js +++ b/lib/workers/pr/changelog.js @@ -12,7 +12,7 @@ async function getChangeLogJSON(depName, fromVersion, newVersion) { return null; } const cachePath = - (process.env.TMPDIR || os.tmpdir()) + '/renovate-changelog-cache'; + (process.env.RENOVATE_TMPDIR || os.tmpdir()) + '/renovate-changelog-cache'; const cacheKey = `${depName}-${fromVersion}-${newVersion}`; // Return from cache if present