Commit e3290b9

mo khan <mo@mokhan.ca>
2025-06-22 06:00:46
fix: fix typo in code
1 parent db0e8a2
Changed files (1)
cmd
cmd/del/main.go
@@ -697,8 +697,14 @@ func (d *Del) testRunner(ctx context.Context, args map[string]interface{}, ch ch
 			}
 		}
 		// Check for Python tests
-		if _, err := os.Stat("requirements.txt"); err == nil || 
-		   _, err := os.Stat("pyproject.toml"); err == nil {
+		if _, err := os.Stat("requirements.txt"); err == nil {
+			if testType != "" {
+				testType = "multi"
+			} else {
+				testType = "python"
+				output.WriteString("✅ Found Python project\n")
+			}
+		} else if _, err := os.Stat("pyproject.toml"); err == nil {
 			if testType != "" {
 				testType = "multi"
 			} else {