Skip to content

Commit

Permalink
fix(status), remove suggestion for tag [version] which is not support…
Browse files Browse the repository at this point in the history
…ed anymore (#7424)
  • Loading branch information
davidfirst authored May 18, 2023
1 parent adc3e43 commit 8f534da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scopes/component/status/status-cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ or use "bit merge [component-id] --abort" to cancel the merge operation)\n`;
? [compDuringMergeTitle, compDuringMergeDesc, compDuringMergeComps].join('\n')
: '';

const newComponentDescription = '\n(use "bit tag [version]" to lock a version with all your changes)\n';
const newComponentDescription = '\n(use "bit tag" to lock a version with all your changes)\n';
const newComponentsTitle = newComponents.length
? chalk.underline.white('new components') + newComponentDescription
: '';
Expand Down Expand Up @@ -247,7 +247,7 @@ or use "bit merge [component-id] --abort" to cancel the merge operation)\n`;
stagedComponents.length ? chalk.underline.white('staged components') + stagedDesc : ''
).join('\n');

const snappedDesc = '\n(use "bit tag [version]" or "bit tag --snapped [version]" to lock a version)\n';
const snappedDesc = '\n(use "bit tag" or "bit tag --snapped" to lock a version)\n';
const snappedComponentsOutput = immutableUnshift(
snappedComponents.map((c) => format(c)),
snappedComponents.length ? chalk.underline.white('snapped components (tag pending)') + snappedDesc : ''
Expand Down

0 comments on commit 8f534da

Please sign in to comment.