Skip to content

Commit a4de740

Browse files
committed
fix: add --json flag use client access-type
1 parent ab23367 commit a4de740

File tree

1 file changed

+1
-1
lines changed
  • cmd/murphy/internal/scan

1 file changed

+1
-1
lines changed

cmd/murphy/internal/scan/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func ideascanRun(cmd *cobra.Command, args []string) {
118118
e error
119119
accessType = model.AccessTypeIdea
120120
)
121-
if cmd.Use == "scan" {
121+
if cmd.Use == "scan <DIR>" {
122122
accessType = model.AccessTypeCli
123123
}
124124
// get absolute path and check if a directory

0 commit comments

Comments
 (0)