Skip to content

Commit

Permalink
fix FileChanged condition typos
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-okroj authored Mar 4, 2024
1 parent 6380201 commit d27388c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conditions.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ <h1>Conditions</h1>
<th colspan="2">post-checkout / post-merge / post-rewrite / pre-push</th>
</tr>
<tr>
<td><a href="#file-changed-all">\CaptainHook\App\Hook\Condition\FileChange\All</a></td>
<td><a href="#file-changed-all">\CaptainHook\App\Hook\Condition\FileChanged\All</a></td>
<td>Check if <strong>all</strong> of the configured files are changed</td>
</tr>
<tr>
<td><a href="#file-staged-any">\CaptainHook\App\Hook\Condition\FileChange\Any</a></td>
<td><a href="#file-changed-any">\CaptainHook\App\Hook\Condition\FileChanged\Any</a></td>
<td>Check if <strong>any</strong> of the configured files is changed</td>
</tr>
<tr>
<td><a href="#file-changed-oftype">\CaptainHook\App\Hook\Condition\FileChange\OfType</a></td>
<td><a href="#file-changed-oftype">\CaptainHook\App\Hook\Condition\FileChanged\OfType</a></td>
<td>Check if changes to a typy of file will be pushed</td>
</tr>
<tr>
Expand Down Expand Up @@ -327,7 +327,7 @@ <h3 id="file-changed-oftype">FileChanged\OfType</h3>
<pre><code class="javascript">{
"conditions": [
{
"exec": "\\CaptainHook\\App\\Hook\\Condition\\FileChange\\OfType",
"exec": "\\CaptainHook\\App\\Hook\\Condition\\FileChanged\\OfType",
"args": [
"php"
]
Expand Down

0 comments on commit d27388c

Please sign in to comment.