Skip to content

Commit

Permalink
Merge branch 'dev-acseo' of github.com:acseo/git-hook-handler into de…
Browse files Browse the repository at this point in the history
…v-acseo
  • Loading branch information
npotier committed May 2, 2018
2 parents 683eeb5 + b07c19b commit 4f9e23d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
],
"minimum-stability": "stable",
"require": {
"symfony/console": "^2.3||^3.0",
"symfony/process": "^2.3||^3.0",
"symfony/yaml": "^2.3||^3.0"
"symfony/console": "^2.3|^3.0|^4.0",
"symfony/process": "^2.3|^3.0|^4.0",
"symfony/yaml": "^2.3|^3.0|^4.0"
},
"require-dev": {
"composer/composer": "~1.0@dev"
"composer/composer": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function doRun(InputInterface $input, OutputInterface $output)

$output->writeln(['', "<comment> $group hook </comment> : ".$groupData['description']]);

$process = new Process($groupData['command'], __DIR__ . '../../');
$process = new Process($groupData['command'], __DIR__ . '../../../../');
$process->setTimeout(null);
$output->writeln([" <comment>Executed command :</comment>",'']);
$output->writeln(" ".str_replace('&&', "&& \\ \n ", $groupData['command']));
Expand Down

0 comments on commit 4f9e23d

Please sign in to comment.