packages/core/lib/commands/init/copyFiles.js
Function copyFiles
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const copyFiles = async (destination, options) => {
fse.ensureDirSync(destination);
const { force, logger, events } = options;
const sourcePath = path.join(__dirname, "initSource");
const projectFiles = fse.readdirSync(sourcePath).filter(