@involvex/emoji-cli 2.2.3 → 2.2.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.
@@ -85,11 +85,11 @@ const COMMANDS: Command[] = [
85
85
 
86
86
  // Error handling
87
87
  class CLIError extends Error {
88
- constructor(
89
- message: string,
90
- public code: number,
91
- ) {
88
+ code: number
89
+
90
+ constructor(message: string, code: number) {
92
91
  super(message)
92
+ this.code = code
93
93
  this.name = 'CLIError'
94
94
  }
95
95
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@involvex/emoji-cli",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "Friendly emoji lookups and parsing utilities for Node.js. 💖",
5
5
  "keywords": [
6
6
  "emoji",