Skip to content

Fix path preference loading at runtime #396

@mogres

Description

@mogres

Description

Packing a recipe in parallel causes the path_preferences.json file stored in the cache to be overwritten, resulting in json loading errors

Expected Behavior/Solution

We should check if the file exists AND is not empty before loading the json. Another option is to wrap this in a try...catch block.

Reproduction

Coming soon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions