create-skybridge 0.0.0-dev.1a21ce8 → 0.0.0-dev.1a99501

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.js CHANGED
@@ -48,8 +48,9 @@ export async function init(args = process.argv.slice(2)) {
48
48
  : "Invalid project name";
49
49
  },
50
50
  });
51
- if (prompts.isCancel(projectName))
51
+ if (prompts.isCancel(projectName)) {
52
52
  return cancel();
53
+ }
53
54
  targetDir = sanitizeTargetDir(projectName);
54
55
  }
55
56
  else {
@@ -77,8 +78,9 @@ export async function init(args = process.argv.slice(2)) {
77
78
  },
78
79
  ],
79
80
  });
80
- if (prompts.isCancel(res))
81
+ if (prompts.isCancel(res)) {
81
82
  return cancel();
83
+ }
82
84
  overwrite = res;
83
85
  }
84
86
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-skybridge",
3
- "version": "0.0.0-dev.1a21ce8",
3
+ "version": "0.0.0-dev.1a99501",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Alpic",
@@ -5,7 +5,9 @@ import { useToolInfo } from "../helpers";
5
5
 
6
6
  function Magic8Ball() {
7
7
  const { input, output } = useToolInfo<"magic-8-ball">();
8
- if (!output) return <div>Shaking...</div>;
8
+ if (!output) {
9
+ return <div>Shaking...</div>;
10
+ }
9
11
 
10
12
  return (
11
13
  <div className="container">