Ver código fonte

test_pull_for

hu hao 5 anos atrás
pai
commit
5d7892f6d3
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      resources/scripts/git-hooks/pre-push

+ 1 - 1
resources/scripts/git-hooks/pre-push

@@ -7,7 +7,7 @@ $projectName = basename(getcwd());
 
 echo PHP_EOL;
 echo '开始执行单元测试...'.PHP_EOL;
-exec('vendor/bin/phpunit --exclude-group online --stop-on-failure', $output, $returnCode);
+exec('./vendor/bin/phpunit --exclude-group online --stop-on-failure', $output, $returnCode);
 
 printf("测试结果: ", $projectName);
 echo PHP_EOL;