Skip to content

Commit ae938b7

Browse files
authored
update test to use sh256
1 parent 072caa1 commit ae938b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const {
1414
const { quote } = require('shell-quote');
1515
const { sep } = require('path');
1616

17-
const { getUserCachePath, md5Path } = require('./lib/shared');
17+
const { getUserCachePath, sha256Path } = require('./lib/shared');
1818

1919
const initialWorkingDir = process.cwd();
2020

@@ -1679,7 +1679,7 @@ test('py3.6 uses static and download cache', t => {
16791679
npm(['i', path]);
16801680
sls(['--useDownloadCache=true', '--useStaticCache=true', 'package']);
16811681
const cachepath = getUserCachePath();
1682-
const cacheFolderHash = md5Path('.serverless/requirements.txt');
1682+
const cacheFolderHash = sha256Path('.serverless/requirements.txt');
16831683
t.true(
16841684
pathExistsSync(`${cachepath}${sep}downloadCacheslspyc${sep}http`),
16851685
'http exists in download-cache'

0 commit comments

Comments
 (0)