mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-28 21:33:48 +00:00
794df714d7
Fixes d79f4d4
Fixes #463
This is required since versions of yq older than 4.30.3 do not parse "\n" correctly.
See https://github.com/mikefarah/yq/issues/1430 and e02bb7194897edb916a6787fb8f8e5a7f432dd94
5 lines
128 B
Plaintext
5 lines
128 B
Plaintext
load_str(filename) | split("
|
|
") | .[] | select(length!=0)
|
|
| [capture("(?P<key>[^\s]+)\s+(?P<value>.*)")]
|
|
| from_entries
|