Skip to content

Commit

Permalink
Merge pull request #32 from dmitriynet/master
Browse files Browse the repository at this point in the history
bug fix  Windows is_executable #5. Thanks @dmitriynet
  • Loading branch information
jayhealey committed Dec 27, 2014
2 parents 8befa45 + 158c7a0 commit f67f4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/Lib/Codeception.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public function checkExecutable($file, $config)

if (! file_exists($file)) {
$response['error'] = 'The Codeception executable could not be found.';
} elseif ( ! is_executable($file)) {
} elseif ( ! is_executable($file) && strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
$response['error'] = 'Codeception isn\'t executable. Have you set executable rights to the following (try chmod o+x).';
}

Expand Down

0 comments on commit f67f4d1

Please sign in to comment.