*.nimble: swap nim:bin key and value

This commit is contained in:
Emery Hemingway 2024-09-30 16:29:08 +01:00
parent 1090f70f0e
commit 09856a9ab6

View file

@ -41,7 +41,7 @@ for prop in comp{"properties"}.getElems.items:
add(backend, val)
else:
if key.startsWith "nim:bin:":
namedBin[key[8..key.high]] = val
namedBin[val] = key[8..key.high]
for depend in sbom{"dependencies"}.items:
if depend{"ref"}.getStr == bomRef: