Skip to content

Commit

Permalink
🐛 Fix analyzer-dep location for binaries. (#55)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel authored Oct 10, 2023
1 parent 7b646c6 commit 61027b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ func (r *Mode) AddOptions(options *command.Options, settings *Settings) (err err
//
// AddDepOptions adds analyzer-dep options.
func (r *Mode) AddDepOptions(options *command.Options, settings *Settings) (err error) {
settings.Location(r.path.appDir)
if r.Binary {
settings.Location(r.path.binary)
} else {
settings.Location(r.path.appDir)
}
return
}

Expand Down

0 comments on commit 61027b2

Please sign in to comment.