Skip to content

fix: separate out command error handler

Codecov / codecov/patch failed Feb 28, 2024 in 1s

15.30% of diff hit (target 63.72%)

View this Pull Request on Codecov

15.30% of diff hit (target 63.72%)

Annotations

Check warning on line 316 in src/commands/account.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/account.mjs#L315-L316

Added lines #L315 - L316 were not covered by tests

Check warning on line 329 in src/commands/account.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/account.mjs#L328-L329

Added lines #L328 - L329 were not covered by tests

Check warning on line 340 in src/commands/account.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/account.mjs#L339-L340

Added lines #L339 - L340 were not covered by tests

Check warning on line 28 in src/commands/base.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/base.mjs#L28

Added line #L28 was not covered by tests

Check warning on line 32 in src/commands/base.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/base.mjs#L31-L32

Added lines #L31 - L32 were not covered by tests

Check warning on line 85 in src/commands/base.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/base.mjs#L81-L85

Added lines #L81 - L85 were not covered by tests

Check warning on line 87 in src/commands/base.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/base.mjs#L87

Added line #L87 was not covered by tests

Check warning on line 90 in src/commands/base.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/base.mjs#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 94 in src/commands/base.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/base.mjs#L94

Added line #L94 was not covered by tests

Check warning on line 227 in src/commands/cluster.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/cluster.mjs#L226-L227

Added lines #L226 - L227 were not covered by tests

Check warning on line 234 in src/commands/cluster.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/cluster.mjs#L233-L234

Added lines #L233 - L234 were not covered by tests

Check warning on line 251 in src/commands/cluster.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/cluster.mjs#L250-L251

Added lines #L250 - L251 were not covered by tests

Check warning on line 262 in src/commands/cluster.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/cluster.mjs#L261-L262

Added lines #L261 - L262 were not covered by tests

Check warning on line 166 in src/commands/init.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/init.mjs#L166

Added line #L166 was not covered by tests

Check warning on line 168 in src/commands/init.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/init.mjs#L168

Added line #L168 was not covered by tests

Check warning on line 371 in src/commands/network.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/network.mjs#L370-L371

Added lines #L370 - L371 were not covered by tests

Check warning on line 383 in src/commands/network.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/network.mjs#L382-L383

Added lines #L382 - L383 were not covered by tests

Check warning on line 402 in src/commands/network.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/network.mjs#L401-L402

Added lines #L401 - L402 were not covered by tests

Check warning on line 676 in src/commands/node.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/node.mjs#L676

Added line #L676 was not covered by tests

Check warning on line 763 in src/commands/node.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/node.mjs#L763

Added line #L763 was not covered by tests

Check warning on line 767 in src/commands/node.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/node.mjs#L765-L767

Added lines #L765 - L767 were not covered by tests

Check warning on line 811 in src/commands/node.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/node.mjs#L810-L811

Added lines #L810 - L811 were not covered by tests

Check warning on line 823 in src/commands/node.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/node.mjs#L822-L823

Added lines #L822 - L823 were not covered by tests

Check warning on line 834 in src/commands/node.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/node.mjs#L833-L834

Added lines #L833 - L834 were not covered by tests

Check warning on line 848 in src/commands/node.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/commands/node.mjs#L847-L848

Added lines #L847 - L848 were not covered by tests