mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-27 13:12:42 +01:00
Remove space_before from JSON pretty print
This commit is contained in:
parent
ab435f11d4
commit
f7b1551979
@ -95,7 +95,6 @@ sub save {
|
||||
$self->{pbot}->{logger}->log("Saving $self->{name} to $filename\n");
|
||||
|
||||
my $json = JSON->new;
|
||||
$json->space_before(0);
|
||||
my $json_text = $json->pretty->utf8->encode($self->{hash});
|
||||
|
||||
open(FILE, "> $filename") or die "Couldn't open $filename: $!\n";
|
||||
|
@ -95,7 +95,6 @@ sub save {
|
||||
$self->{pbot}->{logger}->log("Saving $self->{name} to $filename\n");
|
||||
|
||||
my $json = JSON->new;
|
||||
$json->space_before(0);
|
||||
my $json_text = $json->pretty->utf8->encode($self->{hash});
|
||||
|
||||
open(FILE, "> $filename") or die "Couldn't open $filename: $!\n";
|
||||
|
Loading…
Reference in New Issue
Block a user