Skip to content

Commit 48ee7b7

Browse files
authored
Update rules.md
Fix `path` condition helper example to be accurate
1 parent 72d0d2a commit 48ee7b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ let rule = new Rule({
186186
all: [
187187
{
188188
fact: 'product-price',
189+
path: '.price',
189190
params: {
190-
productId: 'widget',
191-
path: '.price'
191+
productId: 'widget'
192192
},
193193
operator: 'greaterThan',
194194
value: 100

0 commit comments

Comments
 (0)