Remove unneeded function

This commit is contained in:
Nick Playfair 2021-02-02 16:46:14 +00:00
parent 71e7237f13
commit d5deb0f033

View File

@ -25,18 +25,6 @@ function config(folderConfig) {
fs.ensureDirSync(folderConfig.imgDir); fs.ensureDirSync(folderConfig.imgDir);
} }
/**
* Handle errors, log to console and return the error object
* @param {Object} Error object
* @returns {Object} Error object
*/
function handleError(e) {
// Clean up temp files
// cleanupFiles();
console.error(e);
return e;
}
/** /**
* Extracts the passed in zip file * Extracts the passed in zip file
* @param {string} fileName Name of the file to be extracted * @param {string} fileName Name of the file to be extracted