Browse Source

Checkout a été renommé.

2.6
Matthieu Marcillaud 2 years ago
parent
commit
18baa54ba5
  1. 2
      src/autodoc/Helpers/Generator.php
  2. 4
      src/autodoc/Plugin/Core/Compiler/Pass/VcsInformations/Git.php

2
src/autodoc/Helpers/Generator.php

@ -753,7 +753,7 @@ class Generator
$dir = $this->dirs['input'];
}
if (!$checkout = $this->obtenir_commande_serveur('checkout.php')) {
if (!$checkout = $this->obtenir_commande_serveur('checkout')) {
return false;
}
$no_error = $no_error ? '2> /dev/null' : '';

4
src/autodoc/Plugin/Core/Compiler/Pass/VcsInformations/Git.php

@ -20,8 +20,8 @@ class Git extends VcsInformationsAbstract
$this->clear();
if (!$checkout = $this->obtenir_commande_serveur('checkout.php')) {
throw new \RuntimeException("Checkout.php introuvable");
if (!$checkout = $this->obtenir_commande_serveur('checkout')) {
throw new \RuntimeException("Checkout introuvable");
}
// obtenir les infos Git

Loading…
Cancel
Save