Skip to content

Commit

Permalink
use .tgz extension
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Jun 16, 2024
1 parent a5620c8 commit bdfe5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ app.get('/v2/:os/:arch(*)', async (req, res) => {
try {
const tmpDir = tmp.dirSync().name // create unique tmp directory
const tmpDownloadPath = path.join(tmpDir, filename) // path for the downloaded file from npm
const tmpTarPath = path.join(tmpDir, 'output.tar.gz') // path for the new tarball
const tmpTarPath = path.join(tmpDir, 'output.tgz') // path for the new tarball

// download, un-tar, grab binary, and re-tar
const command = `
Expand Down

0 comments on commit bdfe5e6

Please sign in to comment.