Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
loreanvictor committed Dec 31, 2023
1 parent e8f1709 commit 10dc8a3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,23 @@ exists: '**/*'
include hidden: true
```
> [!IMPORTANT]
> `exists` only checks for existence of files, and ignores directories. So this is wrong:
> ```yaml
> # ❌ WRONG
> exists: 'my-dir/'
> ```
> Use `**/*` glob pattern instead:
> ```yaml
> # ✅ CORRECT
> exists: 'my-dir/**/*'
> ```
<br>
#### From File
Expand Down

0 comments on commit 10dc8a3

Please sign in to comment.