Skip to content

Commit a60b5d7

Browse files
committed
fix: restoreCache types
1 parent 482a491 commit a60b5d7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

plugin/src/helpers/cache.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ export async function saveCache({
3333
}
3434
}
3535

36-
export async function restoreCache({ publish, utils }): Promise<void> {
36+
export async function restoreCache({
37+
publish,
38+
utils,
39+
}: {
40+
publish: string
41+
utils: NetlifyPluginOptions['utils']
42+
}): Promise<void> {
3743
if (process.env.NETLIFY_LOCAL) {
3844
return
3945
}

0 commit comments

Comments
 (0)