Skip to content

Commit

Permalink
Fixing if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Mar 5, 2023
1 parent c034dde commit 82bc0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mockery.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func (r *RootApp) Run() error {
boilerplate = string(data)
}

if len(configuredPackages) != 0 && r.Config.Name != "" {
if len(configuredPackages) != 0 && r.Config.Name == "" {
warnAlpha(
ctx,
"use of the 'packages' config variable is currently in an alpha state. Use at your own risk.",
Expand Down

0 comments on commit 82bc0c1

Please sign in to comment.