Skip to content

Commit

Permalink
Drop util.promisify usage.
Browse files Browse the repository at this point in the history
Use the Node built-in `util` module instead.
  • Loading branch information
rwjblue committed Aug 27, 2020
1 parent 845a130 commit 911eee9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion features/application-template-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const chalk = require('chalk');
const fs = require('fs');
const inquirer = require('inquirer');
const p = require('util.promisify');
const p = require('util').promisify;
const path = require('path');
const strip = require('../utils').strip;

Expand Down
2 changes: 1 addition & 1 deletion features/template-only-glimmer-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fs = require('fs');
const inquirer = require('inquirer');
const glob = require('glob');
const mkdirp = require('mkdirp');
const p = require('util.promisify');
const p = require('util').promisify;
const path = require('path');
const strip = require('../utils').strip;

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"glob": "^7.1.6",
"inquirer": "^7.3.3",
"mkdirp": "^1.0.4",
"silent-error": "^1.1.1",
"util.promisify": "^1.0.1"
"silent-error": "^1.1.1"
},
"devDependencies": {
"broccoli-test-helper": "^2.0.0",
Expand Down

0 comments on commit 911eee9

Please sign in to comment.