Skip to content

Commit

Permalink
all files get put in braces now.
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Mar 6, 2024
1 parent ed82082 commit 23b156a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions squash
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ for my $arg ( @ARGV ) {
my $is_ack = $filename eq 'ack';

warn "Reading $filename\n";
if ( !$is_ack ) {
push @parts, "{\n";
}
push @parts, _get_code_from_file( $filename );
if ( !$is_ack ) {
push @parts, "}\n";
}
push @parts,
"{\n",
_get_code_from_file( $filename ),
"}\n",
;
}

my $code = join( '', @parts );
Expand Down

0 comments on commit 23b156a

Please sign in to comment.