Skip to content
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

fix(zoro): Fix megacloud extractor #630

Merged
merged 2 commits into from
Dec 21, 2024

Fix useless

b28bfe3
Select commit
Loading
Failed to load commit list.
Merged

fix(zoro): Fix megacloud extractor #630

Fix useless
b28bfe3
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Dec 21, 2024 in 1s

7 issues fixed. 12 issues found.

Annotations

Check warning on line 2 in src/extractors/megacloud/megacloud.decodedpng.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/extractors/megacloud/megacloud.decodedpng.ts#L2

Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free. (@typescript-eslint/ban-ts-comment)

Check notice on line 382 in src/providers/anime/zoro.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/zoro.ts#L351-L382

Complex Method

Check notice on line 75 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L37-L75

Complex Method

Check warning on line 295 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L295

'this.baseUrl' is assigned to itself. (no-self-assign)

Check warning on line 88 in dist/extractors/megacloud/index.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/extractors/megacloud/index.js#L88

Unnecessary try/catch wrapper. (no-useless-catch)

Check notice on line 187 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L102-L187

Complex Method

Check notice on line 282 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L252-L282

Complex Method

Check warning on line 127 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L127

Duplicate case label. (no-duplicate-case)

Check notice on line 283 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L283

'episodeId' is defined but never used. (no-unused-vars)

Check warning on line 46 in src/extractors/megacloud/index.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/extractors/megacloud/index.ts#L46

Unnecessary try/catch wrapper. (no-useless-catch)

Check warning on line 142 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L142

Unnecessary try/catch wrapper. (no-useless-catch)

Check notice on line 634 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L596-L634

Complex Method