fix: recyclarr only match tags on strings
This commit is contained in:
@@ -17,7 +17,7 @@ with lib; let
|
||||
(builtins.map (
|
||||
# this is yq for "for all the scalers, if they match this regex, do a regex substitution and set the tag"
|
||||
x: ''
|
||||
with((.. | select(kind == "scalar") | select(test("^!${x} .*"))); . = sub("!${x} ", "") | . tag="!${x}")
|
||||
with((.. | select(kind == "scalar") | select(tag == "!!str") | select(test("^!${x} .*"))); . = sub("!${x} ", "") | . tag="!${x}")
|
||||
''
|
||||
)
|
||||
preserved-tags);
|
||||
|
||||
Reference in New Issue
Block a user