Skip to content

Commit

Permalink
Upgrade sb dep as well in sb upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Dec 14, 2022
1 parent 7d5f90c commit 1c61b86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/lib/cli/src/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ export const doUpgrade = async ({
}).output.toString();
logger.info(check);

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

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

0 comments on commit 1c61b86

Please sign in to comment.