Remove unneeded function
This commit is contained in:
parent
71e7237f13
commit
d5deb0f033
12
index.js
12
index.js
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user