Skip to content

Commit

Permalink
Misc. code update
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarikipoulos committed Oct 4, 2020
1 parent 992af3f commit a6395d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

'use strict'

const util = require('util')
const { promisify } = require('util')
const stream = require('stream')

const vfs = require('vinyl-fs')
Expand Down Expand Up @@ -82,7 +82,7 @@ const perform = async (action, argv) => {
return transform
}

const pipeline = util.promisify(stream.pipeline)
const pipeline = promisify(stream.pipeline)
await pipeline(
vfs.src(argv.file),
cipher,
Expand Down

0 comments on commit a6395d2

Please sign in to comment.