@h3ravel/musket 0.6.3 → 0.6.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.
package/dist/index.cjs CHANGED
@@ -664,7 +664,7 @@ var Musket = class Musket {
664
664
  * @param command
665
665
  */
666
666
  registerCommands(commands) {
667
- commands.forEach((e) => this.addCommand(e));
667
+ commands.forEach(this.addCommand);
668
668
  return this;
669
669
  }
670
670
  /**
@@ -963,7 +963,7 @@ var Kernel = class Kernel {
963
963
  * @param command
964
964
  */
965
965
  registerCommands(commands) {
966
- commands.forEach((e) => this.commands.add(e));
966
+ commands.forEach(this.commands.add);
967
967
  return this;
968
968
  }
969
969
  /**
package/dist/index.js CHANGED
@@ -640,7 +640,7 @@ var Musket = class Musket {
640
640
  * @param command
641
641
  */
642
642
  registerCommands(commands) {
643
- commands.forEach((e) => this.addCommand(e));
643
+ commands.forEach(this.addCommand);
644
644
  return this;
645
645
  }
646
646
  /**
@@ -939,7 +939,7 @@ var Kernel = class Kernel {
939
939
  * @param command
940
940
  */
941
941
  registerCommands(commands) {
942
- commands.forEach((e) => this.commands.add(e));
942
+ commands.forEach(this.commands.add);
943
943
  return this;
944
944
  }
945
945
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/musket",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Musket CLI is a framework-agnostic CLI framework designed to allow you build artisan-like CLI apps and for use in the H3ravel framework.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",