Skip to content

Commit

Permalink
fix: shrinkwrap in node v10.0
Browse files Browse the repository at this point in the history
See #2654 (comment)

PR-URL: #2688
Credit: @ljharb
Close: #2688
Reviewed-by: @wraithgar
  • Loading branch information
ljharb authored and nlf committed Feb 18, 2021
1 parent e3de7be commit 49c9537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shrinkwrap.js
@@ -1,7 +1,7 @@
const { resolve, basename } = require('path')
const util = require('util')
const fs = require('fs')
const { unlink } = fs.promises || util.promisify(fs.unlink)
const { unlink } = fs.promises || { unlink: util.promisify(fs.unlink) }
const Arborist = require('@npmcli/arborist')
const log = require('npmlog')

Expand Down

0 comments on commit 49c9537

Please sign in to comment.