tabs to spaces for proper format

This commit is contained in:
Tom Browder 2018-12-12 05:37:43 -06:00 committed by GitHub
parent b7d4f9fa05
commit 046455e0f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,11 +32,11 @@ my $query = "key={$HOLAPI-KEY}{$options}&country={$country}&year={$year}";
my $api-uri = "{$data-location}?{$query}"; my $api-uri = "{$data-location}?{$query}";
my $response = $ua.get($api-uri); my $response = $ua.get($api-uri);
if $response.is-success { if $response.is-success {
say "Working year '$year'..."; say "Working year '$year'...";
spurt $json-data, $response.content; spurt $json-data, $response.content;
say "See JSON data file '$json-data'."; say "See JSON data file '$json-data'.";
} }
else { else {
die $response.status-line; die $response.status-line;
} }
``` ```