@xsft/panels 0.7.1 → 0.7.2
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/bin/panels.js +1 -2
- package/package.json +1 -1
package/bin/panels.js
CHANGED
|
@@ -27,12 +27,11 @@ async function pool(items, size, fn) {
|
|
|
27
27
|
|
|
28
28
|
const EXIT = { pass: 0, fail: 1, error: 2 };
|
|
29
29
|
|
|
30
|
-
/** Runs the judges in the
|
|
30
|
+
/** Runs the judges in the overview, and exits from report.json when the engineer quits. Prints nothing. */
|
|
31
31
|
async function runOnTerminal({ panel, runDir, harness, cwd, args }) {
|
|
32
32
|
await runTable({ panel, runDir, harness, cwd, target: args.target, brief: args.brief, sources: args.sources, yolo: args.yolo });
|
|
33
33
|
const reportPath = join(runDir, 'report.json');
|
|
34
34
|
if (!existsSync(reportPath)) return 2;
|
|
35
|
-
console.log(reportPath);
|
|
36
35
|
return EXIT[JSON.parse(readFileSync(reportPath, 'utf8')).status];
|
|
37
36
|
}
|
|
38
37
|
|