util/writer.js
Function process
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
process(dir, templateDir, context) {
fs.readdirSync(dir).forEach((file) => {
const filePath = path.join(dir, file);
const templatePath = path.join(templateDir, file);
const isDirectory = fs.statSync(filePath).isDirectory();
- Create a ticketCreate a ticket