Skip to content

Commit

Permalink
Fix: Building errors in attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
retrouser955 committed Aug 3, 2024
1 parent 53826fb commit 2d8f89a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/extractor/src/extractors/AttachmentExtractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export class AttachmentExtractor extends BaseExtractor {

track.extractor = this;

// @ts-expect-error
track.raw.isFile = false;

return { playlist: null, tracks: [track] };
Expand Down Expand Up @@ -180,7 +179,6 @@ export class AttachmentExtractor extends BaseExtractor {

track.extractor = this;

// @ts-expect-error
track.raw.isFile = true;

return { playlist: null, tracks: [track] };
Expand All @@ -196,7 +194,7 @@ export class AttachmentExtractor extends BaseExtractor {

public async stream(info: Track) {
const engine = info.raw.engine as string;
// @ts-expect-error

const isFile = info.raw.isFile as boolean;

if (!engine) throw new Error('Could not find stream source');
Expand Down

0 comments on commit 2d8f89a

Please sign in to comment.