Skip to content

Commit

Permalink
fix(luarocks): fix skip condition
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Sep 26, 2024
1 parent ccdff59 commit e68f147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/luarocks/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (Inspector) InspectProject(ctx context.Context) error {
return fmt.Errorf("parse: %w", e)
}
var deps, testDeps = analyze(ctx, tree)
if len(deps) != 0 || len(testDeps) == 0 {
if len(deps) == 0 && len(testDeps) == 0 {
return nil
}
var module = model.Module{
Expand Down

0 comments on commit e68f147

Please sign in to comment.