@akanjs/cli 0.9.23 → 0.9.25

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/cjs/index.js CHANGED
@@ -3775,8 +3775,8 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
3775
3775
  exit();
3776
3776
  process.exit(0);
3777
3777
  };
3778
- process.on("SIGINT", () => {
3779
- void destroy();
3778
+ process.on("SIGINT", async () => {
3779
+ await destroy();
3780
3780
  });
3781
3781
  return () => {
3782
3782
  void destroy();
package/esm/index.js CHANGED
@@ -3757,8 +3757,8 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
3757
3757
  exit();
3758
3758
  process.exit(0);
3759
3759
  };
3760
- process.on("SIGINT", () => {
3761
- void destroy();
3760
+ process.on("SIGINT", async () => {
3761
+ await destroy();
3762
3762
  });
3763
3763
  return () => {
3764
3764
  void destroy();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "sourceType": "module",
4
4
  "name": "@akanjs/cli",
5
- "version": "0.9.23",
5
+ "version": "0.9.25",
6
6
  "bin": {
7
7
  "akan": "esm/index.js"
8
8
  },