Skip to content

Commit

Permalink
decompress-tarxz is failing, see addaleax/lzma-native#79
Browse files Browse the repository at this point in the history
  • Loading branch information
HughxDev committed Apr 23, 2019
1 parent 13c2f75 commit 322e2ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const join = path.join;
const Logger = require( 'bug-killer' );

const decompress = require( 'decompress' );
const decompressTarxz = require( 'decompress-tarxz' );
// const decompressTarxz = require( 'decompress-tarxz' );
const fs = require( 'fs' );

// External Routes
Expand Down Expand Up @@ -106,7 +106,7 @@ server.on( tus.EVENTS.EVENT_UPLOAD_COMPLETE, ( event ) => {
if ( file.filename.match( /\.redblue(\.xz)?$/i ) ) {
decompress( `./files/${event.file.id}`, `./files/${event.file.id}--extracted/`, {
"plugins": [
decompressTarxz()
// decompressTarxz()
]
} ).then( ( files ) => {
file.archive = files;
Expand Down

0 comments on commit 322e2ac

Please sign in to comment.