create-astro 1.2.2 → 1.2.3

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -139,7 +139,7 @@ async function main() {
139
139
  ],
140
140
  { onCancel: () => ora().info(dim("Operation cancelled. See you later, astronaut!")) }
141
141
  );
142
- if (!options.template) {
142
+ if (!options.template || options.template === true) {
143
143
  ora().info(dim("No template provided. See you later, astronaut!"));
144
144
  process.exit(1);
145
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astro",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",