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.
10 lines
No EOL
254 B
JavaScript
10 lines
No EOL
254 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
// A temporary value used to identify if the loop should be broken.
|
|
// See #1064, #1293
|
|
const breakLoop = {};
|
|
exports.default = breakLoop;
|
|
module.exports = exports.default; |