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 4, 2018
1 parent 6854bd6 commit 6833db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/info/index.js
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 6833db9

Please sign in to comment.