Skip to content

Zipping a .tgz file corrupts the file #30

@caiismyname

Description

@caiismyname

If I run yarn pack (which outputs a .tgz), then read in the the resulting file
let content = fs.readFileSync("package.tgz", "utf8")
then zip it
zip.file("package.tgz", content)
, trying to unzip the resulting file once the overall package is unzipped results in a corrupted .tgz whichtar -xzf is unable to unpack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions