Skip to content

Commit

Permalink
Clean up whitespace. (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed Jun 2, 2023
1 parent 347ef39 commit c19a1ed
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,26 +72,26 @@ Visit [http://localhost:8080/](http://localhost:8080/), and paste this into the
# Simple fixes
add_field("hello","world")
add_field("hello", "world")
remove_field("my.deep.nested.junk")
copy_field("stats","output.$append")
copy_field("stats", "output.$append")
# Conditionals
if exists("error")
set_field("is_valid", "no")
log("error")
set_field("is_valid", "no")
log("error")
elsif exists("warning")
set_field("is_valid", "yes")
log("warning")
set_field("is_valid", "yes")
log("warning")
else
set_field("is_valid", "yes")
set_field("is_valid", "yes")
end
# Loops
do list(path: "foo", "var":"$i")
add_field("$i","bar")
do list(path: "foo", "var": "$i")
add_field("$i", "bar")
end
```

Expand Down

0 comments on commit c19a1ed

Please sign in to comment.