milkio 0.2.10 → 0.2.11

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.
Files changed (2) hide show
  1. package/c.ts +3 -1
  2. package/package.json +1 -1
package/c.ts CHANGED
@@ -30,7 +30,9 @@ const commands = {
30
30
  const command = Buffer.from(commandBase64ed, "base64").toString("utf-8");
31
31
  console.log("\x1B[2m%s\x1B[0m", `$ ${command}`);
32
32
  console.log(``);
33
- await $`${{ raw: command }}`;
33
+ try {
34
+ await $`${{ raw: command }}`;
35
+ } catch (e) {}
34
36
  process.on("SIGINT", () => {}); // prevent users from exiting by pressing ctrl + c
35
37
  while (true) await new Promise((resolve) => process.stdin.on("keypress", resolve));
36
38
  },
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "milkio",
3
3
  "type": "module",
4
4
  "module": "index.ts",
5
- "version": "0.2.10",
5
+ "version": "0.2.11",
6
6
  "peerDependencies": {
7
7
  "typescript": "^5.4.2"
8
8
  },