Skip to content

Commit

Permalink
fix(mini-status), make the command work with the full-name, not only …
Browse files Browse the repository at this point in the history
…alias (#7952)
  • Loading branch information
davidfirst authored Sep 26, 2023
1 parent 42d054b commit b235b8b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scopes/component/status/mini-status-cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type MiniStatusOpts = {
showIssues?: Boolean;
};

export default class MiniStatusCmd implements Command {
export class MiniStatusCmd implements Command {
name = 'mini-status [component-pattern]';
description = 'EXPERIMENTAL. basic status for fast execution';
extendedDescription = `shows only modified/new components with code changes. for the full status, use "bit status".
Expand Down
2 changes: 1 addition & 1 deletion scopes/component/status/status.main.runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { SnapsDistance } from '@teambit/legacy/dist/scope/component-ops/snaps-di
import IssuesAspect, { IssuesMain } from '@teambit/issues';
import { StatusCmd } from './status-cmd';
import { StatusAspect } from './status.aspect';
import MiniStatusCmd, { MiniStatusOpts } from './mini-status-cmd';
import { MiniStatusCmd, MiniStatusOpts } from './mini-status-cmd';

type DivergeDataPerId = { id: ComponentID; divergeData: SnapsDistance };

Expand Down
1 change: 0 additions & 1 deletion scopes/harmony/bit/load-bit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ function shouldLoadInSafeMode() {
'logout',
'config',
'remote',
'mini-status',
];
const hasSafeModeFlag = process.argv.includes('--safe-mode');
const isSafeModeCommand = safeModeCommands.includes(currentCommand);
Expand Down

0 comments on commit b235b8b

Please sign in to comment.