mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Added newline to pretty function
This commit is contained in:
parent
ef4b895cbc
commit
271839b71f
@ -112,7 +112,7 @@ sub pretty {
|
||||
my $result;
|
||||
|
||||
my $pid = open2(\*IN, \*OUT, 'astyle -xUpf');
|
||||
print OUT $code;
|
||||
print OUT "$code\n";
|
||||
close OUT;
|
||||
while(my $line = <IN>) {
|
||||
$result .= $line;
|
||||
|
@ -311,7 +311,7 @@ sub pretty {
|
||||
my $result;
|
||||
|
||||
my $pid = open2(\*IN, \*OUT, 'astyle -xUpf');
|
||||
print OUT $code;
|
||||
print OUT "$code\n";
|
||||
close OUT;
|
||||
while(my $line = <IN>) {
|
||||
$result .= $line;
|
||||
|
Loading…
Reference in New Issue
Block a user