Skip to content

Commit

Permalink
Merge pull request #6 from borNfreee/patch-1
Browse files Browse the repository at this point in the history
Fixed error on Windows
  • Loading branch information
umpirsky committed Sep 21, 2014
2 parents f09bf28 + 304aa57 commit b7cc3c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Umpirsky/PermissionsHandler/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ class ScriptHandler
{
public static function setPermissions(CommandEvent $event)
{
if ('WIN' === strtoupper(substr(PHP_OS, 0, 3))) {
$event->getIO()->write('No permissions setup is required on Windows.');
return;
}

$event->getIO()->write('Setting up permissions.');

try {
Expand Down

0 comments on commit b7cc3c2

Please sign in to comment.