diff --git a/cmd/murphy/internal/scan/cmd.go b/cmd/murphy/internal/scan/cmd.go index 69db8a0c..7d561893 100644 --- a/cmd/murphy/internal/scan/cmd.go +++ b/cmd/murphy/internal/scan/cmd.go @@ -118,7 +118,7 @@ func ideascanRun(cmd *cobra.Command, args []string) { e error accessType = model.AccessTypeIdea ) - if cmd.Use == "scan" { + if cmd.Use == "scan " { accessType = model.AccessTypeCli } // get absolute path and check if a directory