Skip to content

Remove solidity-files-cache.json file if it's broken #6489

@fvictorio

Description

@fvictorio

Reported by @shark0der.

If the cache/solidity-files-cache.json file is broken (in his case it was because it was empty, which is an invalid JSON), then compilation fails.

When reading that file, we should detect if it's broken and remove it, which I think can always be done without issues.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions