Skip to content

Commit dd2c075

Browse files
invisig0thCisphyx
andauthored
Apply suggestions from code review
Co-authored-by: Cisphyx <cisphyx@gmail.com>
1 parent e9780fe commit dd2c075

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.claude/skills/synapse-storm/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ $list = ([])
495495
inet:fqdn limit 10 +#tag
496496
497497
// CORRECT - pipe returns to Storm operator syntax
498-
inet:fqdn | limit 10 | +#tag
498+
inet:fqdn limit 10 | +#tag
499499
```
500500

501501
### 4. Unbalanced Brackets/Braces
@@ -578,14 +578,14 @@ try { ... } catch * as $err { ... }
578578
// return() - exits a callable function
579579
580580
function check00(n) {
581-
if ($fatal) {return($lib.null) } // exit function
581+
if ($fatal) { return() } // exit function
582582
return(woot) // exit function returning "woot"
583583
}
584584
585585
function check01(n) {
586586
for $x in $n {
587587
emit $x // emit $x to the invoker
588-
if ($x = woot) {
588+
if ($x = 'woot') {
589589
stop // exit the emitter function
590590
}
591591
}

0 commit comments

Comments
 (0)