Skip to content

Commit

Permalink
fix(luarocks): or, instead of and
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Sep 26, 2024
1 parent 9d3bbd4 commit ccdff59
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 ccdff59

Please sign in to comment.