Skip to content

Commit

Permalink
Remove pify again (#264)
Browse files Browse the repository at this point in the history
* Remove pify again

* Fix remaining uses of pify
  • Loading branch information
realityking authored Nov 2, 2020
1 parent 5884675 commit 3b731ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/graph.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';

const path = require('path');
const pify = require('pify');
const {promisify} = require('util');
const graphviz = require('graphviz');

const exec = pify(require('child_process').exec);
const writeFile = pify(require('fs').writeFile);
const exec = promisify(require('child_process').exec);
const writeFile = promisify(require('fs').writeFile);

/**
* Set color on a node.
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": "^5.1.0",
"pify": "^5.0.0",
"pluralize": "^8.0.0",
"precinct": "^6.3.1",
"pretty-ms": "^7.0.0",
Expand Down

0 comments on commit 3b731ba

Please sign in to comment.