Don't define the variables, that's the job of vars(1)
authorVincent Tondellier <tonton+hg@team1664.org>
Sat, 29 Oct 2016 18:29:44 +0200
changeset 115 a092dd98e34d
parent 114 1f67942c76c9
child 116 39449f7dab99
Don't define the variables, that's the job of vars(1)
lib/CrashTest/Plugin/StackFilter/FileLink.pm
--- a/lib/CrashTest/Plugin/StackFilter/FileLink.pm	Sat Oct 29 13:20:07 2016 +0200
+++ b/lib/CrashTest/Plugin/StackFilter/FileLink.pm	Sat Oct 29 18:29:44 2016 +0200
@@ -55,7 +55,6 @@
 
     my $mt = Mojo::Template->new
         ->vars(1)
-        ->prepend('my ($repo, $scmpath, $rev, $line) = @_;')
         ->auto_escape(1)
         ->escape(sub {
             my $str = shift;