Skip to content

Commit

Permalink
Remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Nov 26, 2015
1 parent 7586865 commit 220a336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ModulesPerl6/DbBuilder/Dist/Source.pm
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sub _parse_meta {
length $data or return;

log info => 'Parsing META file';
eval { $data or die "No data to parse\n"; $data->$json };
eval { $data->$json };
if ( $@ ) { log error => "Failed to parse: JSON error: $@"; return; }

length $json->{ $_ } or log warn => "Required `$_` field is missing"
Expand Down

0 comments on commit 220a336

Please sign in to comment.