@outwalk/create-firefly 0.14.0 → 0.14.1

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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -187,8 +187,9 @@ const questions = [
187
187
  try {
188
188
  const template = new TemplateBuilder(templatePath, projectPath);
189
189
  template.inject("project-name", config.name);
190
- template.snippet("import-platform", path.join(snippetPath, config.platform, "import-platform.template"));
191
- template.snippet("define-platform", path.join(snippetPath, config.platform, "define-platform.template"));
190
+ const platform = config.platform.split(",")[0];
191
+ template.snippet("import-platform", path.join(snippetPath, platform, "import-platform.template"));
192
+ template.snippet("define-platform", path.join(snippetPath, platform, "define-platform.template"));
192
193
  template.build();
193
194
  } catch (error) {
194
195
  logger.error(error.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outwalk/create-firefly",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Firefly - a modern scalable web framework.",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {