Skip to content

Commit

Permalink
Update directory path where cli running
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejchalubek committed Apr 28, 2017
1 parent 21b9247 commit 1fdfd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tonik
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (file_exists($composer = __DIR__ . '/../../autoload.php')) {

$shake = new Tonik\CLI\Command\Shake(new Symfony\Component\Finder\Finder);

return $cli->run($shake->dir(__DIR__));
return $cli->run($shake->dir(dirname(dirname(dirname(__DIR__)))));
}

throw new Exception("Please, install composer dependences before running CLI.");

0 comments on commit 1fdfd03

Please sign in to comment.