mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
Minor, fix example in Herald documentation.
In JSON, `\.` is not valid. The backslash needs to be escaped.
This commit is contained in:
parent
72a92d438f
commit
660022665b
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ A few features in Herald are particularly complicated:
|
|||
filename of the changed file; the second will be used to match the content.
|
||||
For example, if you want to match revisions which add or remove calls to
|
||||
a "muffinize" function, //but only in JS files//, you can set the value
|
||||
to ##["/\.js$/", "/muffinize/"]## or similar.
|
||||
to ##["/\\.js$/", "/muffinize/"]## or similar.
|
||||
- **Another Herald rule**: you can create Herald rules which depend on other
|
||||
rules. This can be useful if you need to express a more complicated predicate
|
||||
than "all" vs "any" allows, or have a common set of conditions which you want
|
||||
|
|
Loading…
Reference in a new issue