enh(windows/local): pending-reboot mode - encoding management (#3169)

This commit is contained in:
qgarnier 2021-10-01 11:45:06 +02:00 committed by GitHub
parent 5c490218a7
commit 26179a3063

View File

@ -140,7 +140,7 @@ sub manage_selection {
my $decoded; my $decoded;
eval { eval {
$decoded = JSON::XS->new->utf8->decode($stdout); $decoded = JSON::XS->new->decode($self->{output}->decode($stdout));
}; };
if ($@) { if ($@) {
$self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@"); $self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");