Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
Signed-off-by: Ivo Yankov <[email protected]>
  • Loading branch information
Ivo-Yankov committed Jan 6, 2025
1 parent 33c0401 commit d3db951
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/commands/cluster/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import * as ContextFlags from './flags.js';
import {RemoteConfigTasks} from '../../core/config/remote/remote_config_tasks.js';
import type {RemoteConfigManager} from '../../core/config/remote/remote_config_manager.js';
import {connectConfigBuilder, resetConfigBuilder, setupConfigBuilder} from './configs.js';
import {SoloError} from "../../core/errors.js";
import {SoloError} from '../../core/errors.js';

export class ClusterCommandHandlers implements CommandHandlers {
readonly parent: BaseCommand;
Expand Down Expand Up @@ -112,9 +112,9 @@ export class ClusterCommandHandlers implements CommandHandlers {
);

try {
await action(argv, this);
await action(argv, this);
} catch (e: Error | any) {
throw new SoloError('Error on cluster setup', e);
throw new SoloError('Error on cluster setup', e);
}

return true;
Expand All @@ -138,9 +138,9 @@ export class ClusterCommandHandlers implements CommandHandlers {
);

try {
await action(argv, this);
await action(argv, this);
} catch (e: Error | any) {
throw new SoloError('Error on cluster reset', e);
throw new SoloError('Error on cluster reset', e);
}
return true;
}
Expand Down

0 comments on commit d3db951

Please sign in to comment.