Skip to content

Commit

Permalink
fix: use async / await for info command (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRuf authored and evenstensberg committed Jun 15, 2018
1 parent 4c95be5 commit 296c9c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/info/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const envinfo = require("envinfo");
* Prints debugging information for webpack issue reporting
*/

module.exports = function info() {
module.exports = async function info() {
console.log(
envinfo.run({
await envinfo.run({
System: ["OS", "CPU"],
Binaries: ["Node", "Yarn", "npm"],
Browsers: ["Chrome", "Firefox", "Safari"],
Expand Down

0 comments on commit 296c9c6

Please sign in to comment.