Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Nov 20, 2019
1 parent a351318 commit e9c869e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Converts a function that takes a Node-style callback (err, result) as its last argument into a
// function that returns a Promise. This is equivalent to util.promisify, but is reimplemented here
// because promisify isn't supported in Node 6.
// Usage: await asyncifyNode(doSomething)(allParamsExceptCallback)
// Usage: await promisify(doSomething)(allParamsExceptCallback)
function promisify(f) {
return (...args) =>
new Promise((resolve, reject) =>
Expand Down

0 comments on commit e9c869e

Please sign in to comment.