Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions cmd/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,13 +437,6 @@ func validatePaths(paths []string) error {
return nil
}

func validateCloudMode(cliLocalMode bool) error {
if cliLocalMode {
fmt.Println("Warning: cannot run in cloud mode")
}
return nil
}

var analyzeCmd = &cobra.Command{
Use: "analyze",
Short: "Analyze code using configured tools",
Expand All @@ -465,8 +458,6 @@ Supports API token, provider, and repository flags to automatically fetch tool c

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

validateCloudMode(cliLocalMode)

var toolsToRun map[string]*plugins.ToolInfo

if toolsToAnalyzeParam != "" {
Expand Down