Skip to content

Fix path preference loading at runtime #396

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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