Skip to content

Commit

Permalink
Merge pull request #22333 from joaonunomota/no-more-commas
Browse files Browse the repository at this point in the history
CLI: Remove random commas in storybook upgrade logs
  • Loading branch information
JReinhold committed Aug 29, 2023
2 parents 6a18e92 + 7d824e4 commit d23d577
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions code/lib/cli/src/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,16 @@ export const doUpgrade = async ({
const check = spawnSync('npx', ['npm-check-updates@latest', '/storybook/', ...flags], {
stdio: 'pipe',
shell: true,
}).output.toString();
logger.info(check);
});
logger.info(check.stdout.toString());
logger.info(check.stderr.toString());

const checkSb = spawnSync('npx', ['npm-check-updates@latest', 'sb', ...flags], {
stdio: 'pipe',
shell: true,
}).output.toString();
logger.info(checkSb);
});
logger.info(checkSb.stdout.toString());
logger.info(checkSb.stderr.toString());

if (!dryRun) {
commandLog(`Installing upgrades`);
Expand Down

0 comments on commit d23d577

Please sign in to comment.