Skip to content
This repository was archived by the owner on Jan 2, 2022. It is now read-only.

Commit baaabf2

Browse files
authored
fix: only use digests in save step
1 parent b88b095 commit baaabf2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ module.exports = {
6060
// - the file/directory has not been cached yet
6161
async onPreBuild({utils, netlifyConfig, inputs}: NetlifyOpts) {
6262
const paths = generateAbsolutePaths({netlifyConfig, inputs});
63-
const success = await utils.cache.restore(paths.absolute.buildDir, {
64-
digest: [paths.absolute.manifest]
65-
});
63+
const success = await utils.cache.restore(paths.absolute.buildDir);
6664

6765
if (success) {
6866
console.log(`Restored the cached ${paths.buildDirName} folder at the location \`${paths.absolute.buildDir}\``);

0 commit comments

Comments
 (0)