diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-24 00:10:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-24 00:10:24 +0300 |
commit | 5838993b5f3e2d861d9dd7c82dfeea71506b9fc2 (patch) | |
tree | caab6621fb79f06a355f802dc885982f746b544d /config/helpers/vendor_dll_hash.js | |
parent | b8d021cb606ac86f41a0ef9dacd133a9677f8414 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/helpers/vendor_dll_hash.js')
-rw-r--r-- | config/helpers/vendor_dll_hash.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/helpers/vendor_dll_hash.js b/config/helpers/vendor_dll_hash.js index ca7b564a07c..2df97e7b95d 100644 --- a/config/helpers/vendor_dll_hash.js +++ b/config/helpers/vendor_dll_hash.js @@ -9,9 +9,9 @@ const CACHE_PATHS = [ './yarn.lock', ]; -const resolvePath = file => path.resolve(__dirname, '../..', file); -const readFile = file => fs.readFileSync(file); -const fileHash = buffer => crypto.createHash('md5').update(buffer).digest('hex'); +const resolvePath = (file) => path.resolve(__dirname, '../..', file); +const readFile = (file) => fs.readFileSync(file); +const fileHash = (buffer) => crypto.createHash('md5').update(buffer).digest('hex'); module.exports = () => { const fileBuffers = CACHE_PATHS.map(resolvePath).map(readFile); |