@htyf-mp/cli 0.2.11 → 0.2.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htyf-mp/cli",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "红糖云服app小程序模板-cli",
5
5
  "type": "module",
6
6
  "bin": {
@@ -187,7 +187,7 @@ export class ProjectInitializer {
187
187
  spinner.text = '正在处理模板...';
188
188
  this.processor.processTemplate(appRootPath, templateType);
189
189
 
190
- const isGodot = this.config.templates[templateType] === CONSTANTS.TEMPLATE_TYPES.GAME_TEMPLATE;
190
+ const isGodot = templateType === CONSTANTS.TEMPLATE_TYPES.GAME_TEMPLATE;
191
191
 
192
192
  // 生成配置
193
193
  spinner.text = '正在生成项目配置...';