@docker-doctor/cli 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +2 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-DiEWLJ6g.mjs → src-D2DWrv5B.mjs} +13 -9
- package/dist/{src-DiEWLJ6g.mjs.map → src-D2DWrv5B.mjs.map} +1 -1
- package/dist/{src-C7XK6Kp-.cjs → src-DiT93yVt.cjs} +13 -9
- package/dist/{src-C7XK6Kp-.cjs.map → src-DiT93yVt.cjs.map} +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_src = require('./src-
|
|
2
|
+
const require_src = require('./src-DiT93yVt.cjs');
|
|
3
3
|
let node_fs_promises = require("node:fs/promises");
|
|
4
4
|
node_fs_promises = require_src.__toESM(node_fs_promises, 1);
|
|
5
5
|
let node_path = require("node:path");
|
|
@@ -1418,7 +1418,7 @@ program.argument("[dir]", "directory to scan", ".").option("-v, --verbose", "sho
|
|
|
1418
1418
|
];
|
|
1419
1419
|
const scannedFileCount = project.dockerfiles.length + project.composeFiles.length;
|
|
1420
1420
|
const { diagnostics, failures } = await runRulesEngine(rootDir, project, config.rules, config.categories, projectFilesList, fileContents, options, setStatus);
|
|
1421
|
-
const { score, label } = require_src.calculateScore(diagnostics);
|
|
1421
|
+
const { score, label } = require_src.calculateScore(diagnostics, scannedFileCount - failures.length);
|
|
1422
1422
|
const duration = ((Date.now() - startTime) / 1e3).toFixed(1);
|
|
1423
1423
|
const concurrency = node_os.default.cpus().length;
|
|
1424
1424
|
if (spinnerInterval !== null) {
|