Skip to content

Commit

Permalink
Merge pull request #263 from realityking/no-pify
Browse files Browse the repository at this point in the history
Replace pify with util.promisify
  • Loading branch information
pahen committed Oct 26, 2020
2 parents c27a399 + 037269c commit b74eb74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

const os = require('os');
const path = require('path');
const pify = require('pify');
const {promisify} = require('util');
const commondir = require('commondir');
const walk = require('walkdir');
const dependencyTree = require('dependency-tree');
const log = require('./log');

const stat = pify(require('fs').stat);
const stat = promisify(require('fs').stat);

/**
* Check if running on Windows.
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"detective-typescript": "^5.8.0",
"graphviz": "0.0.9",
"ora": "^4.0.4",
"pify": "^5.0.0",
"pluralize": "^8.0.0",
"precinct": "^6.3.1",
"pretty-ms": "^7.0.0",
Expand Down

0 comments on commit b74eb74

Please sign in to comment.