Skip to content

Commit

Permalink
fix: Direct calling of node stop and start commands (#636)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivo Yankov <[email protected]>
  • Loading branch information
Ivo-Yankov authored Oct 2, 2024
1 parent efa1783 commit 7749b04
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/commands/node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2386,9 +2386,7 @@ export class NodeCommand extends BaseCommand {
.command({
command: 'start',
desc: 'Start a node',
builder: y => flags.setCommandFlags(y,
NodeCommand.START_FLAGS_LIST
),
builder: y => flags.setCommandFlags(y, ...NodeCommand.START_FLAGS_LIST),
handler: argv => {
nodeCmd.logger.debug('==== Running \'node start\' ===')
nodeCmd.logger.debug(argv)
Expand All @@ -2405,9 +2403,7 @@ export class NodeCommand extends BaseCommand {
.command({
command: 'stop',
desc: 'Stop a node',
builder: y => flags.setCommandFlags(y,
NodeCommand.STOP_FLAGS_LIST
),
builder: y => flags.setCommandFlags(y, ...NodeCommand.STOP_FLAGS_LIST),
handler: argv => {
nodeCmd.logger.debug('==== Running \'node stop\' ===')
nodeCmd.logger.debug(argv)
Expand Down

0 comments on commit 7749b04

Please sign in to comment.