From e64b2b8c43549f166845150666c4d5d0e2d5a1c6 Mon Sep 17 00:00:00 2001 From: Michael Balitsky <35119841+mikstime@users.noreply.github.com> Date: Mon, 14 Nov 2022 11:11:26 +0300 Subject: [PATCH] Update task.hook.ts --- src/task.hook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task.hook.ts b/src/task.hook.ts index c80448fd..70102db5 100644 --- a/src/task.hook.ts +++ b/src/task.hook.ts @@ -183,7 +183,7 @@ export const compareImagesTask = async ( export const doesFileExistTask = ({ path }: { path: string }) => fs.existsSync(path); -export const processImgPath = ({ path }) => path; +export const processImgPath = ({ path: string }) => path; /* c8 ignore start */ export const initTaskHook = (config: Cypress.PluginConfigOptions) => ({