Skip to content

Commit

Permalink
Merge pull request #237 from emanuel-okroj/emanuel-okroj/fix-file-cha…
Browse files Browse the repository at this point in the history
…nged-condition-typos

Fix FileChanged condition typos
  • Loading branch information
sebastianfeldmann committed Mar 6, 2024
2 parents 6380201 + d27388c commit a9e7062
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 a9e7062

Please sign in to comment.