index.js
Function process
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function process(s3Object, callback) {
const configPath = path.resolve(__dirname, "config.json");
const fileSystem = new S3FileSystem();
const processor = new ImageProcessor(fileSystem, s3Object);
const config = new Config(