We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e42901 commit 00e281fCopy full SHA for 00e281f
scripts/jq-template.awk
@@ -50,6 +50,7 @@ function append_jq(expr) {
50
if (!expr) return
51
expr = trim(expr)
52
53
+ if (expr ~ /^#[^\n]*$/) return # ignore pure comment lines {{ # ... -}}
54
if (expr ~ /^(def|include|import)[[:space:]]/) { # a few things need to go at the start of our "script"
55
jq_expr_defs = jq_expr_defs expr ";\n"
56
return
0 commit comments