Closed aabmass closed 1 year ago
Replacing our modest usage of pify with Util.promisify(). The pify dependency was added in 1c0a542b2135884b4742b0b37b98287f3ff705e5 when node6 appears to have been supported; promisify was added in Node 8, so I assume that's why pify was used.
Util.promisify()
Pify claims some benefits over promisify but it doesn't seem that important for our usage.
Replacing our modest usage of pify with
Util.promisify()
. The pify dependency was added in 1c0a542b2135884b4742b0b37b98287f3ff705e5 when node6 appears to have been supported; promisify was added in Node 8, so I assume that's why pify was used.Pify claims some benefits over promisify but it doesn't seem that important for our usage.