Skip to content

Commit

Permalink
Handle module->version being undef
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Sep 15, 2014
1 parent c2b0b81 commit a40c5e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Release history for App-cpanoutdated-fresh

{{$NEXT}}
[Bugfix]
- Handle module->version being undef

0.001003 2014-09-15T02:48:14Z
[Bugfix]
Expand Down
2 changes: 1 addition & 1 deletion lib/App/cpanoutdated/fresh.pm
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ sub _check_fresh {

return {
name => $module->{name},
cpan => $v->stringify,
cpan => ( $v ? $v->stringify : q[0] ),
release => $data_hash->{release},
installed => $mm->version->stringify,
meta => $data_hash,
Expand Down

0 comments on commit a40c5e9

Please sign in to comment.