mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Add archiver dependency to package.json and update package-lock. Require archiver in task.js and implement createDieDb(srcDir, archivePath) to produce zip-based .die-db archives of processed output directories. After cleaning and reporting, the script now creates a .die-db archive per input directory and logs success/failure with archive sizes.
14 lines
No EOL
302 B
JavaScript
14 lines
No EOL
302 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
|
|
exports.default = function (...args) {
|
|
return function (...ignoredArgs /*, callback*/) {
|
|
var callback = ignoredArgs.pop();
|
|
return callback(null, ...args);
|
|
};
|
|
};
|
|
|
|
module.exports = exports.default; |