libs: replace libs.toml.dict_to_toml with libs.faults.resolve_faults
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
4e175e998e
commit
2667a2c00d
4 changed files with 8 additions and 21 deletions
6
libs/faults.py
Normal file
6
libs/faults.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from json import loads, dumps
|
||||
|
||||
from bundlewrap.metadata import metadata_to_json
|
||||
|
||||
def resolve_faults(dictionary: dict) -> dict:
|
||||
return loads(metadata_to_json(dictionary))
|
Loading…
Add table
Add a link
Reference in a new issue