Skip to content

Commit 7876d50

Browse files
committed
fix: unsued variables removed
1 parent af31985 commit 7876d50

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/helpers/auth.helper.ts

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export const login = async (
6262
return false;
6363
}
6464

65+
if (authWarning?.length > 0) {
66+
return false;
67+
}
68+
6569
const hasCaptcha = !!(await page.$(`form.cvf-widget-form-captcha`));
6670

6771
if (hasCaptcha) {

src/hooks/prerun/prerun.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Hook } from "@oclif/core";
1+
// import { Hook } from "@oclif/core";
22

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

7-
export default hook;
7+
// export default hook;

0 commit comments

Comments
 (0)