Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 20, 2010
1 parent 30df485 commit df90f8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojo/Command/Get.pm
Expand Up @@ -7,6 +7,7 @@ use base 'Mojo::Command';

use Mojo::ByteStream 'b';
use Mojo::Client;
use Mojo::IOLoop;
use Mojo::Transaction::HTTP;

use Getopt::Long 'GetOptions';
Expand Down Expand Up @@ -36,7 +37,7 @@ sub run {
$url = b($url)->decode('UTF-8')->to_string;

# Client
my $client = Mojo::Client->new;
my $client = Mojo::Client->new(ioloop => Mojo::IOLoop->singleton);

# Silence
$client->log->level('fatal');
Expand Down

0 comments on commit df90f8a

Please sign in to comment.