Skip to content

Commit

Permalink
fixed small selector bug in get command
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 8, 2013
1 parent 5f69d06 commit 0616d0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -4,6 +4,7 @@
- Removed deprecated start method from Mojolicious::Commands.
- Improved documentation.
- Improved tests.
- Fixed small selector bug in get command.

3.93 2013-04-05
- Deprecated Mojo::IOLoop::Delay::end in favor of generated callbacks.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Command/get.pm
Expand Up @@ -99,7 +99,7 @@ sub run {

# Ignore intermediate content
return if $redirect && $res->is_status_class(300);
$selector ? ($buffer .= pop) : print(pop);
defined $selector ? ($buffer .= pop) : print(pop);
}
);
}
Expand Down

0 comments on commit 0616d0a

Please sign in to comment.