From c25dac2950ba134ab7da5e3876a6c75ea16f6bea Mon Sep 17 00:00:00 2001 From: Chris Chinchilla Date: Mon, 18 Nov 2024 09:39:00 +0100 Subject: [PATCH] Update jq docs to show correct escaping As seen here: https://github.com/bazel-contrib/bazel-lib/blob/31e6c76b7d2e91657913232ec33da6a8b6ace90b/lib/jq.bzl#L87 The docs show the incorrect escaping sequence. --- docs/jq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/jq.md b/docs/jq.md index 6a65ebe..db834cf 100644 --- a/docs/jq.md +++ b/docs/jq.md @@ -91,7 +91,7 @@ jq( "--raw-input", "--slurp", ], - filter = "{ deps: split("\n") | map(select(. | length > 0)) }", + filter = "{ deps: split(\"\\n\") | map(select(. | length > 0)) }", ) ```