Skip to content

Commit

Permalink
fix: shrinkwrap in node v10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 12, 2021
1 parent 7c66009 commit 5b234a0
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 5b234a0

Please sign in to comment.