Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Oct 5, 2023
1 parent 4fed236 commit 72b38ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/extractor/src/extractors/common/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export async function loadYtdl(options?: any, force = false) {
// return dl(query, this.context.player.options.ytdlOptions);
} else if (_ytLibName === '@distube/ytdl-core') {
const dl = lib as typeof import('@distube/ytdl-core');
let opt: any;
let opt: any; // eslint-disable-line @typescript-eslint/no-explicit-any

if (planner) {
opt = {
Expand All @@ -147,6 +147,7 @@ export async function loadYtdl(options?: any, force = false) {

const agent = dl.createAgent(Array.isArray(cookie) ? cookie : undefined, opt);

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const reqOpt: any = {
agent
};
Expand Down

0 comments on commit 72b38ae

Please sign in to comment.