deflake 1.2.7 → 1.2.9
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/cli.js +6 -4
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -956,10 +956,6 @@ async function analyzeFailures(artifacts, fullLog, client) {
|
|
|
956
956
|
console.log(`\n${C.BRIGHT}💡 Tip: Use ${C.CYAN}--fix${C.RESET}${C.BRIGHT} to automatically apply these suggested fixes next time.${C.RESET}`);
|
|
957
957
|
}
|
|
958
958
|
|
|
959
|
-
// TRIGGER REPORT
|
|
960
|
-
if (results.length > 0 && argv.fix && argv.report) {
|
|
961
|
-
showFrameworkReport();
|
|
962
|
-
}
|
|
963
959
|
|
|
964
960
|
return results.length;
|
|
965
961
|
}
|
|
@@ -1025,6 +1021,12 @@ async function main() {
|
|
|
1025
1021
|
const fullLog = argv.log && fs.existsSync(argv.log) ? fs.readFileSync(argv.log, 'utf8') : null;
|
|
1026
1022
|
await analyzeFailures(artifacts, fullLog, client);
|
|
1027
1023
|
}
|
|
1024
|
+
|
|
1025
|
+
// FINAL REPORT TRIGGER
|
|
1026
|
+
// We wait until the very end so verification runs (if any) are reflected
|
|
1027
|
+
if (argv.report) {
|
|
1028
|
+
showFrameworkReport();
|
|
1029
|
+
}
|
|
1028
1030
|
}
|
|
1029
1031
|
|
|
1030
1032
|
// main() call is now handled by the check above
|