frontend-project-generator
Advanced tools
Comparing version 0.2.0-alpha-8 to 0.2.0-alpha-9
import fs from 'fs'; | ||
import path from 'path'; | ||
const addPluginConfig = (generatorRootDir, newProjectDir, configDir) => fs.cp(path.resolve(path.join(generatorRootDir, configDir)), newProjectDir, { recursive: true }, (err) => { | ||
// eslint-disable-next-line no-console | ||
console.log(err); | ||
if (err) { | ||
// eslint-disable-next-line no-console | ||
console.log(err); | ||
} | ||
}); | ||
export default addPluginConfig; |
{ | ||
"name": "frontend-project-generator", | ||
"version": "0.2.0-alpha-8", | ||
"version": "0.2.0-alpha-9", | ||
"description": "Intent frontend project generator", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -14,4 +14,6 @@ import fs from 'fs'; | ||
(err) => { | ||
// eslint-disable-next-line no-console | ||
console.log(err); | ||
if (err) { | ||
// eslint-disable-next-line no-console | ||
console.log(err); | ||
} | ||
} | ||
@@ -18,0 +20,0 @@ ); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69691
1678