diff --git a/lib/CacheMd5.js b/lib/CacheMd5.js index b1ace2cb..f31e8495 100644 --- a/lib/CacheMd5.js +++ b/lib/CacheMd5.js @@ -382,6 +382,11 @@ class Md5Cache { md5Cache[file] = value; cachedMd5s[file] = value.hash; } + + // If somehow dependencies operates on a file in both file and + // context, or otherwise doubles up, return value so the second + // call receives input. + return value; } const building = buildingMd5s[file];