diff --git a/index.js b/index.js index 79b0aa4..ce46468 100644 --- a/index.js +++ b/index.js @@ -25,18 +25,6 @@ function config(folderConfig) { 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 * @param {string} fileName Name of the file to be extracted