@asyncapi/cli 0.58.3 → 0.58.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,9 +25,7 @@ class ContextAdd extends base_1.default {
25
25
  this.log('You have no context file configured. Run "asyncapi config context init" to initialize it.');
26
26
  return;
27
27
  }
28
- {
29
- throw e;
30
- }
28
+ throw e;
31
29
  }
32
30
  });
33
31
  }
@@ -26,9 +26,7 @@ class ContextCurrent extends base_1.default {
26
26
  this.log('No context is set as current. Run "asyncapi config context" to see all available options.');
27
27
  return;
28
28
  }
29
- {
30
- throw e;
31
- }
29
+ throw e;
32
30
  }
33
31
  if (fileContent) {
34
32
  this.log(`${fileContent.current}: ${fileContent.context}`);
@@ -24,9 +24,7 @@ class ContextEdit extends base_1.default {
24
24
  this.log(`Context file "${Context_1.CONTEXT_FILE_PATH}" is empty.`);
25
25
  return;
26
26
  }
27
- {
28
- throw e;
29
- }
27
+ throw e;
30
28
  }
31
29
  });
32
30
  }
@@ -25,9 +25,7 @@ class ContextList extends base_1.default {
25
25
  this.log('You have no context file configured. Run "asyncapi config context init" to initialize it.');
26
26
  return;
27
27
  }
28
- {
29
- throw e;
30
- }
28
+ throw e;
31
29
  }
32
30
  });
33
31
  }
@@ -23,9 +23,7 @@ class ContextRemove extends base_1.default {
23
23
  this.log(`Context file "${Context_1.CONTEXT_FILE_PATH}" is empty.`);
24
24
  return;
25
25
  }
26
- {
27
- throw e;
28
- }
26
+ throw e;
29
27
  }
30
28
  });
31
29
  }
@@ -23,9 +23,7 @@ class ContextUse extends base_1.default {
23
23
  this.log(`Context file "${Context_1.CONTEXT_FILE_PATH}" is empty.`);
24
24
  return;
25
25
  }
26
- {
27
- throw e;
28
- }
26
+ throw e;
29
27
  }
30
28
  });
31
29
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.58.3",
2
+ "version": "0.58.4",
3
3
  "commands": {
4
4
  "bundle": {
5
5
  "id": "bundle",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@asyncapi/cli",
3
3
  "description": "All in one CLI for all AsyncAPI tools",
4
- "version": "0.58.3",
4
+ "version": "0.58.4",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run"