Skip to content

Commit a437a41

Browse files
resolved conflicts
2 parents bc0d2a3 + 3c62ea1 commit a437a41

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

cmd/analyze.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -440,22 +440,6 @@ func validatePaths(paths []string) error {
440440
return nil
441441
}
442442

443-
func validateCloudMode(cliLocalMode bool) error {
444-
if cliLocalMode {
445-
fmt.Println("Warning: cannot run in cloud mode")
446-
}
447-
return nil
448-
}
449-
450-
func runPyreflyAnalysis(workDirectory string, pathsToCheck []string, outputFile string, outputFormat string) error {
451-
pyrefly := config.Config.Tools()["pyrefly"]
452-
if pyrefly == nil {
453-
log.Fatal("Pyrefly tool configuration not found")
454-
}
455-
pyreflyBinary := pyrefly.Binaries["pyrefly"]
456-
return tools.RunPyrefly(workDirectory, pyreflyBinary, pathsToCheck, outputFile, outputFormat)
457-
}
458-
459443
var analyzeCmd = &cobra.Command{
460444
Use: "analyze",
461445
Short: "Analyze code using configured tools",
@@ -477,8 +461,6 @@ Supports API token, provider, and repository flags to automatically fetch tool c
477461

478462
cliLocalMode := len(initFlags.ApiToken) == 0
479463

480-
validateCloudMode(cliLocalMode)
481-
482464
var toolsToRun map[string]*plugins.ToolInfo
483465

484466
if toolsToAnalyzeParam != "" {

0 commit comments

Comments
 (0)