Skip to content

Commit

Permalink
removed Cygwin exception from Hypnotoad
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 31, 2012
1 parent 521f00d commit e318e2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -8,6 +8,7 @@ This file documents the revision history for Perl extension Mojolicious.
- Added x_forwarded_host, x_forwarded_https and x_requested_with
methods to Mojo::Headers.
- Removed experimental status from JSON Pointer support.
- Removed Cygwin exception from Hypnotoad.
- Added pdf MIME type. (bfaist)
- Improved documentation.
- Improved tests.
Expand Down
3 changes: 1 addition & 2 deletions lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -47,8 +47,7 @@ sub run {
my ($self, $app, $config) = @_;

# No windows support
_exit('Hypnotoad not available for Windows.')
if $^O eq 'MSWin32' || $^O =~ /cygwin/;
_exit('Hypnotoad not available for Windows.') if $^O eq 'MSWin32';

# Application
$ENV{HYPNOTOAD_APP} ||= abs_path $app;
Expand Down

0 comments on commit e318e2f

Please sign in to comment.