Skip to content

Commit

Permalink
fix: add --json flag use client access-type
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Feb 8, 2023
1 parent ab23367 commit a4de740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/murphy/internal/scan/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func ideascanRun(cmd *cobra.Command, args []string) {
e error
accessType = model.AccessTypeIdea
)
if cmd.Use == "scan" {
if cmd.Use == "scan <DIR>" {
accessType = model.AccessTypeCli
}
// get absolute path and check if a directory
Expand Down

0 comments on commit a4de740

Please sign in to comment.