Skip to content

Commit

Permalink
chore: use util.promisify instead of pify (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZYSzys authored and satazor committed Oct 19, 2018
1 parent 9e0cf2f commit 606e092
Show file tree
Hide file tree
Showing 3 changed files with 2,532 additions and 2,576 deletions.
4 changes: 2 additions & 2 deletions lib/prompt.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

const { EOL } = require('os');
const pify = require('pify');
const read = pify(require('read'));
const { promisify } = require('util');
const read = promisify(require('read'));

async function prompt(message, options) {
// Read input
Expand Down
Loading

0 comments on commit 606e092

Please sign in to comment.