Skip to content

Commit 1aa1d93

Browse files
committed
fix: expects no fulfilled response
1 parent 9e11543 commit 1aa1d93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/remove.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ async function remove (gyp, argv) {
4444
}
4545

4646
module.exports = function (gyp, argv, callback) {
47-
remove(gyp, argv).then(callback.bind(undefined, null), callback)
47+
// Expects no fulfilled response
48+
remove(gyp, argv).then(() => callback(), callback)
4849
}
4950
module.exports.usage = 'Removes the node development files for the specified version'

0 commit comments

Comments
 (0)