@area17/a17-generator
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@area17/a17-generator", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A17 Generator is used to quickly install A17 FE libraries", | ||
@@ -5,0 +5,0 @@ "author": "A17 <dev@area17.com> (https://area17.com/)", |
@@ -137,5 +137,5 @@ import child_process from 'child_process'; | ||
const selectedStyling = libs.styling[opts.styling]; | ||
if (selectedStyling.files && selectedStyling.files.glength) { | ||
if (selectedStyling.files && selectedStyling.files.length) { | ||
console.log(chalk.yellow(`Copy ${ selectedStyling.name } set up files`)); | ||
const targetPath = opts.installing.folderStructure ? `${ folderStructurePrefix }frontend` : null; | ||
const targetPath = opts.installing.folderStructure ? `${ folderStructurePrefix }frontend` : './'; | ||
selectedStyling.files.forEach(file => { | ||
@@ -142,0 +142,0 @@ copyFile(file, targetPath); |
55567