Skip to content

Commit 6833db9

Browse files
DanielRufevenstensberg
authored andcommitted
fix: use async / await for info command (#494)
1 parent 6854bd6 commit 6833db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/info/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ const envinfo = require("envinfo");
66
* Prints debugging information for webpack issue reporting
77
*/
88

9-
module.exports = function info() {
9+
module.exports = async function info() {
1010
console.log(
11-
envinfo.run({
11+
await envinfo.run({
1212
System: ["OS", "CPU"],
1313
Binaries: ["Node", "Yarn", "npm"],
1414
Browsers: ["Chrome", "Firefox", "Safari"],

0 commit comments

Comments
 (0)