File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const {
14
14
const { quote } = require ( 'shell-quote' ) ;
15
15
const { sep } = require ( 'path' ) ;
16
16
17
- const { getUserCachePath, md5Path } = require ( './lib/shared' ) ;
17
+ const { getUserCachePath, sha256Path } = require ( './lib/shared' ) ;
18
18
19
19
const initialWorkingDir = process . cwd ( ) ;
20
20
@@ -1679,7 +1679,7 @@ test('py3.6 uses static and download cache', t => {
1679
1679
npm ( [ 'i' , path ] ) ;
1680
1680
sls ( [ '--useDownloadCache=true' , '--useStaticCache=true' , 'package' ] ) ;
1681
1681
const cachepath = getUserCachePath ( ) ;
1682
- const cacheFolderHash = md5Path ( '.serverless/requirements.txt' ) ;
1682
+ const cacheFolderHash = sha256Path ( '.serverless/requirements.txt' ) ;
1683
1683
t . true (
1684
1684
pathExistsSync ( `${ cachepath } ${ sep } downloadCacheslspyc${ sep } http` ) ,
1685
1685
'http exists in download-cache'
You can’t perform that action at this time.
0 commit comments