feat: changed to module.exports
This commit is contained in:
committed by
mrugesh mohapatra
parent
76c23be416
commit
2ae521c995
@@ -84,7 +84,7 @@ const guideFolderChecks = (prFiles, user) => {
|
||||
return newErrors ? errorsFound.concat(newErrors) : errorsFound;
|
||||
}, []);
|
||||
|
||||
return createErrorMsg(prErrors, user);
|
||||
return prErrors.length ? createErrorMsg(prErrors, user) : null;
|
||||
};
|
||||
|
||||
exports.guideFolderChecks = guideFolderChecks;
|
||||
module.exports = { guideFolderChecks };
|
||||
|
Reference in New Issue
Block a user