Skip to content

Commit dc358e9

Browse files
committed
Add missing conditional
1 parent 106e4ff commit dc358e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ModulesPerl6/DbBuilder/Dist/Source.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ sub _parse_meta {
8888
length and not $no_index->{$_}
8989
} map { trim uc } grep { not ref } @{ $json->{tags} };
9090

91-
log warn => "`$json->{name}` does not have any tags";
91+
log warn => "`$json->{name}` does not have any tags"
92+
unless @{ $json->{tags} };
9293

9394
return $self->_fill_missing( {%$json} );
9495
}

0 commit comments

Comments
 (0)