Permalink
Browse files

Remove debugging code from Vim report.

  • Loading branch information...
pjcj committed Apr 1, 2012
1 parent 9f40b1e commit e26fe4b678d3b2371e46c79be73eb7728b732180
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/Devel/Cover/Report/Vim.pm
@@ -11,6 +11,7 @@ use strict;
use warnings;
# VERSION
+our $LVERSION = do { eval '$VERSION' || "0.001" }; # for development purposes
use Devel::Cover::DB;
@@ -26,7 +27,6 @@ sub get_options
qw(
outputfile=s
));
- use Data::Dumper; print Dumper $opt;
}
sub coverage
@@ -81,6 +81,7 @@ sub report
$db->runs
],
now => time,
+ version => $LVERSION,
coverage => join ", ", map {
my ($cov, $err) = coverage($db, $_);
local $" = ", ";
@@ -115,7 +116,7 @@ sub fetch
}
$Templates{vim} = <<'EOT';
-" This file was generated by Devel::Cover Version $VERSION
+" This file was generated by Devel::Cover Version [% version %]
" Devel::Cover is copyright 2001-2011, Paul Johnson (pjcj@cpan.org)
" Devel::Cover is free. It is licensed under the same terms as Perl itself.
" The latest version of Devel::Cover should be available from my homepage:

0 comments on commit e26fe4b

Please sign in to comment.