File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ has relative => (
44
44
45
45
sub _build_raw {
46
46
my $self = shift ;
47
- my $raw = " " ;
47
+ my $raw = q[ ] ;
48
48
run3(
49
49
[
50
50
$self -> git,
51
51
qw( diff --no-renames -z --no-index -u --no-color --numstat) ,
52
- " --relative=" . $self -> relative,
52
+ ' --relative=' . $self -> relative,
53
53
$self -> source,
54
54
$self -> target
55
55
],
@@ -80,7 +80,7 @@ sub _build_structured {
80
80
81
81
while ( my $line = shift @lines ) {
82
82
my ( $insertions , $deletions ) = split ( / \t / , $line );
83
- my $segment = " " ;
83
+ my $segment = q[ ] ;
84
84
while ( my $diff = shift @raw ) {
85
85
86
86
# only run it through if non-ascii bytes are found
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ our %metacpan_scripts = (
34
34
sub _build_clean_query {
35
35
my ($self ) = @_ ;
36
36
my $search = $self -> query
37
- or return undef ;
37
+ or return ;
38
38
39
39
_scan_hash_tree($search );
40
40
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ my %skip = map { ( $_ => 1 ) } qw(
46
46
lib/MetaCPAN/Script/Watcher.pm
47
47
lib/MetaCPAN/Server/Controller.pm
48
48
lib/MetaCPAN/Server/Controller/Changes.pm
49
- lib/MetaCPAN/Server/Controller/Diff.pm
50
49
lib/MetaCPAN/Server/Controller/File.pm
51
50
lib/MetaCPAN/Server/Controller/Login.pm
52
51
lib/MetaCPAN/Server/Controller/Login/PAUSE.pm
@@ -55,10 +54,8 @@ my %skip = map { ( $_ => 1 ) } qw(
55
54
lib/MetaCPAN/Server/Controller/Search/Autocomplete.pm
56
55
lib/MetaCPAN/Server/Controller/Source.pm
57
56
lib/MetaCPAN/Server/Controller/User/Favorite.pm
58
- lib/MetaCPAN/Server/Diff.pm
59
57
lib/MetaCPAN/Server/Model/CPAN.pm
60
58
lib/MetaCPAN/Server/Model/Source.pm
61
- lib/MetaCPAN/Server/QuerySanitizer.pm
62
59
lib/MetaCPAN/Server/View/JSON.pm
63
60
lib/MetaCPAN/Server/View/Pod.pm
64
61
lib/MetaCPAN/Util.pm
You can’t perform that action at this time.
0 commit comments