Skip to content

Commit

Permalink
chore: print the output message.
Browse files Browse the repository at this point in the history
  • Loading branch information
yibuyisheng committed Dec 28, 2021
1 parent edc3974 commit 1185e22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/module-usage/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const cp = require('child_process');

try {
cp.exec('npm i @alife/goldfish-module-usage@latest --registry=http://registry.npm.alibaba-inc.com --no-package-lock --no-save');
const p = cp.exec('npm i @alife/goldfish-module-usage@latest --registry=http://registry.npm.alibaba-inc.com --no-package-lock --no-save');
p.stdout.pipe(process.stdout);
p.stderr.pipe(process.stderr);
} catch (e) {}

0 comments on commit 1185e22

Please sign in to comment.