api.js
Function exports
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(app, astah, s3, projectDir, exportDir) {
function findFiles(hash, absUrl) {
return fs.readdirSync(path.join(exportDir, hash))
.filter(function(filename) {
return path.extname(filename) !== '.bak';
Function exports
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
module.exports = function(app, astah, s3, projectDir, exportDir) {