Showing 1 of 1 total issue
Function transformFile
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function transformFile(inputPath, transform, callback) {
readFile(inputPath, 'utf8', (readError, input) => {
if (readError) {
throw new Error(
'Error trying to read the file ' + inputPath + '.\n' + readError