Skip to content

Commit f642391

Browse files
authored
fix: assert private network is returned (#49)
1 parent 19c0260 commit f642391

File tree

1 file changed

+2
-0
lines changed
  • commands/private-network/get

1 file changed

+2
-0
lines changed

commands/private-network/get/mod.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ export const get = command("get", {
6666
asserts(response.ok, response);
6767
const result = response.data;
6868

69+
asserts(result, "No private network found.");
70+
6971
if (flags.json) {
7072
yield pickJson(result, flags.fields);
7173
} else {

0 commit comments

Comments
 (0)