Skip to content

Commit 3c62ea1

Browse files
fix: sarif output (#162)
1 parent 6c9c7f2 commit 3c62ea1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmd/analyze.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,6 @@ func validatePaths(paths []string) error {
437437
return nil
438438
}
439439

440-
func validateCloudMode(cliLocalMode bool) error {
441-
if cliLocalMode {
442-
fmt.Println("Warning: cannot run in cloud mode")
443-
}
444-
return nil
445-
}
446-
447440
var analyzeCmd = &cobra.Command{
448441
Use: "analyze",
449442
Short: "Analyze code using configured tools",
@@ -465,8 +458,6 @@ Supports API token, provider, and repository flags to automatically fetch tool c
465458

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

468-
validateCloudMode(cliLocalMode)
469-
470461
var toolsToRun map[string]*plugins.ToolInfo
471462

472463
if toolsToAnalyzeParam != "" {

0 commit comments

Comments
 (0)