Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Oct 29, 2023
1 parent 6abb503 commit 99c81e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ For example, to ignore path `node_modules`:
```yml
ignores_pre: |-
Param($ElementPreMeta)
Return ($ElementPreMeta.Path -imatch '^node_modules\\/')
Return ($ElementPreMeta.Path -imatch '^node_modules[\\/]')
```

> **⚠️ Important:** PowerShell script block is extremely powerful, which also able to execute malicious actions, user should always take extra review for this input value.
Expand Down Expand Up @@ -309,7 +309,7 @@ Return $Result
git_limit: 100
ignores_pre: |-
Param($ElementPreMeta)
Return ($Meta.Path -imatch '^node_modules\\/')
Return ($Meta.Path -imatch '^node_modules[\\/]')
```
## 📚 Guide
Expand Down

0 comments on commit 99c81e8

Please sign in to comment.