From 4fb7d3cc76bf6abbb7dba14beb38391a96c1f6cb Mon Sep 17 00:00:00 2001 From: "Jocelyn Badgley (Twipped)" Date: Fri, 6 Mar 2020 19:31:22 -0800 Subject: [PATCH] =?UTF-8?q?Show=20why=20we=E2=80=99re=20updating=20a=20cac?= =?UTF-8?q?hed=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/evaluate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/evaluate.js b/build/evaluate.js index bbbc7aa..6e2c919 100644 --- a/build/evaluate.js +++ b/build/evaluate.js @@ -25,7 +25,7 @@ module.exports = exports = async function process (tasks, cache) { let result; let status = await cache.get(task); const { input, output } = task; - const taskLog = [ status.mode, status.input, status.output ]; + const taskLog = [ status.mode + (status.why ? '-' + status.why : ''), status.input, status.output ]; if (status.mode === 'skip') { await cache.touch(task, lastSeen); if (taskLog && LOG[taskLog[0]]) log.info(...taskLog);