Skip to content

Commit

Permalink
just use one line
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 19, 2017
1 parent 3e8c6ae commit 21aab88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script/hypnotoad
Expand Up @@ -10,8 +10,7 @@ getopt
's|stop' => \$ENV{HYPNOTOAD_STOP},
't|test' => \$ENV{HYPNOTOAD_TEST};

my $app = shift || $ENV{HYPNOTOAD_APP};
die extract_usage if $help || !$app;
die extract_usage if $help || !(my $app = shift || $ENV{HYPNOTOAD_APP});
Mojo::Server::Hypnotoad->new->run($app);

=encoding utf8
Expand Down

0 comments on commit 21aab88

Please sign in to comment.