Skip to content

Commit

Permalink
Deleting support to execute any file containing executable bits
Browse files Browse the repository at this point in the history
  • Loading branch information
phochste committed Sep 2, 2015
1 parent 0310b47 commit b5671c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Catmandu/Fix.pm
Expand Up @@ -46,8 +46,6 @@ sub _build_fixes {
push @$fixes, require_package('Catmandu::Fix::code')->new($fix);
} elsif (ref $fix) {
push @$fixes, $fix;
} elsif (is_string($fix) && $fix !~ /[\n()]/ and -X $fix) {
push @$fixes, require_package('Catmandu::Fix::cmd')->new($fix);
} elsif (is_string($fix)) {
push @$fixes, @{$self->parser->parse($fix)};
}
Expand Down

0 comments on commit b5671c2

Please sign in to comment.