fix(docs): description of jq example didn't match behavior (#897)

* fix(docs): description of jq example didn't match behavior

I think this was wrong? Wish our examples were also executable...

---------

Co-authored-by: Derek Cormier <derek@aspect.dev>
This commit is contained in:
Alex Eagle 2024-08-11 15:56:06 -07:00 committed by GitHub
parent 74ac451d8a
commit 5d09fc1b83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
docs/jq.md generated
View File

@ -29,6 +29,7 @@ Remove a field from `package.json`:
jq( jq(
name = "no_dev_deps", name = "no_dev_deps",
srcs = ["package.json"], srcs = ["package.json"],
out = "package.json",
filter = "del(.devDependencies)", filter = "del(.devDependencies)",
) )
``` ```

View File

@ -27,6 +27,7 @@ Remove a field from `package.json`:
jq( jq(
name = "no_dev_deps", name = "no_dev_deps",
srcs = ["package.json"], srcs = ["package.json"],
out = "package.json",
filter = "del(.devDependencies)", filter = "del(.devDependencies)",
) )
``` ```