@next2d/view-generator 1.4.2 → 1.4.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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -279,7 +279,7 @@ const exec = function ()
279
279
  .version(packageJson.version)
280
280
  .parse(process.argv);
281
281
 
282
- if (!fs.existsSync(`${process.cwd()}/src/index.ts`)) {
282
+ if (fs.existsSync(`${process.cwd()}/src/index.ts`)) {
283
283
  createTypeScriptFile();
284
284
  } else {
285
285
  createJavaScriptFile();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/view-generator",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Generate the View class required for routing.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
6
6
  "license": "MIT",