Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Jul 30, 2024
1 parent 978973a commit 4854ef7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/types/files/archives/maxcso/maxcso.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ export default abstract class Maxcso extends Archive {
const size = (await maxcso.header(this.getFilePath())).uncompressedSize;
const crc32 = await maxcso.uncompressedCrc32(this.getFilePath());

return [await ArchiveEntry.entryOf({
const entry = await ArchiveEntry.entryOf({
archive: this,
entryPath,
size: Number(size),
crc32,
}, checksumBitmask)];
}, checksumBitmask);
console.log(entry);

Check warning on line 20 in src/types/files/archives/maxcso/maxcso.ts

View workflow job for this annotation

GitHub Actions / node-lint

Unexpected console statement
return [entry];
}

async extractEntryToFile(entryPath: string, extractedFilePath: string): Promise<void> {
Expand Down

0 comments on commit 4854ef7

Please sign in to comment.