deflake 1.1.2 → 1.1.3
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 +1 -7
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -641,7 +641,7 @@ async function runDoctor(argv) {
|
|
|
641
641
|
console.log("");
|
|
642
642
|
|
|
643
643
|
console.log(`${C.BRIGHT}Summary:${C.RESET}`);
|
|
644
|
-
if (apiKey &&
|
|
644
|
+
if (apiKey && activeFramework !== 'generic') {
|
|
645
645
|
console.log(` ✨ ${C.GREEN}${C.BRIGHT}You are ready to use DeFlake!${C.RESET}`);
|
|
646
646
|
} else {
|
|
647
647
|
console.log(` ⚠️ ${C.YELLOW}Please address the issues above to ensure DeFlake works correctly.${C.RESET}`);
|
|
@@ -650,12 +650,6 @@ async function runDoctor(argv) {
|
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
async function applySelfHealing(result) {
|
|
653
|
-
const C = {
|
|
654
|
-
RESET: "\x1b[0m",
|
|
655
|
-
GREEN: "\x1b[32m",
|
|
656
|
-
RED: "\x1b[31m",
|
|
657
|
-
GRAY: "\x1b[90m"
|
|
658
|
-
};
|
|
659
653
|
|
|
660
654
|
if (!result.location || !result.location.fullRootPath || !result.fix) return;
|
|
661
655
|
|