From c89929d3e252202e43346a591d0033f0a5db82fd Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sat, 19 May 2018 08:22:37 +0200
Subject: [PATCH] fix: rename changelog cache file

---
 bin/clean-cache.js                       | 2 +-
 lib/workers/pr/changelog/source-cache.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/clean-cache.js b/bin/clean-cache.js
index 0311d95810..b72b60bf59 100644
--- a/bin/clean-cache.js
+++ b/bin/clean-cache.js
@@ -2,6 +2,6 @@ const fs = require('fs-extra');
 const os = require('os');
 
 (async () => {
-  await fs.remove(os.tmpdir() + '/renovate-changelog-cache');
+  await fs.remove(os.tmpdir() + '/renovate-cache-changelog');
   await fs.remove(os.tmpdir() + '/renovate-npm-cache');
 })();
diff --git a/lib/workers/pr/changelog/source-cache.js b/lib/workers/pr/changelog/source-cache.js
index bcfee3d78b..974ab41ef4 100644
--- a/lib/workers/pr/changelog/source-cache.js
+++ b/lib/workers/pr/changelog/source-cache.js
@@ -9,7 +9,7 @@ module.exports = {
 
 function getCache({ depName, fromVersion, newVersion }) {
   const tmpdir = process.env.RENOVATE_TMPDIR || os.tmpdir();
-  const cachePath = tmpdir + '/renovate-commits-cache';
+  const cachePath = tmpdir + '/renovate-cache-changelog';
   const cacheKey = `${depName}-${fromVersion}-${newVersion}`;
   return [cachePath, cacheKey];
 }
-- 
GitLab