Skip to content

Commit

Permalink
Merge pull request #24 from tiagonapoli/fix/broken-promisify-call
Browse files Browse the repository at this point in the history
fix: broken promisify call
  • Loading branch information
Ícaro Azevedo authored Feb 11, 2022
2 parents 2d10437 + 3dde92f commit e792f5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/app/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class AppBundle extends CustomCommand {
console.log('Downloading and extracting...')
const extractPath = join(dir, filename)
ensureDirSync(extractPath)
return await util.promisify(pipeline)([res.data, tar.extract({ cwd: extractPath + '/' })])
return await util.promisify(pipeline)(res.data, tar.extract({ cwd: extractPath + '/' }))
} catch (err) {
const axiosErr: AxiosError = err
console.log(axiosErr.response.status, axiosErr.response.statusText)
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5830,7 +5830,7 @@ static-extend@^0.1.1:
define-property "^0.2.5"
object-copy "^0.1.0"

"stats-lite@github:vtex/node-stats-lite#dist":
stats-lite@vtex/node-stats-lite#dist:
version "2.2.0"
resolved "https://codeload.github.com/vtex/node-stats-lite/tar.gz/1b0d39cc41ef7aaecfd541191f877887a2044797"
dependencies:
Expand Down

0 comments on commit e792f5f

Please sign in to comment.