Skip to content

fix: Linter and Typescript #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update task.hook.ts
  • Loading branch information
mikstime authored Nov 14, 2022
commit e64b2b8c43549f166845150666c4d5d0e2d5a1c6
2 changes: 1 addition & 1 deletion src/task.hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => ({
Expand Down