Skip to content

Commit

Permalink
fix: unsued variables removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Disane87 committed Oct 31, 2023
1 parent af31985 commit 7876d50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/helpers/auth.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export const login = async (
return false;
}

if (authWarning?.length > 0) {
return false;
}

const hasCaptcha = !!(await page.$(`form.cvf-widget-form-captcha`));

if (hasCaptcha) {
Expand Down
10 changes: 5 additions & 5 deletions src/hooks/prerun/prerun.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Hook } from "@oclif/core";
// import { Hook } from "@oclif/core";

const hook: Hook<`prerun`> = async function (opts) {
// process.stdout.write(`example hook running ${opts.Command.id}\n`);
};
// const hook: Hook<`prerun`> = async function (opts) {
// // process.stdout.write(`example hook running ${opts.Command.id}\n`);
// };

export default hook;
// export default hook;

0 comments on commit 7876d50

Please sign in to comment.