Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix, delete index.json on the remote if it is outdated #9242

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

davidfirst
Copy link
Member

This PR reverts #1624.
In case the remote encounters an outdated index.json it wasn't throw an error about it. The problem is that some functions calling it expect to get objects. (e.g. loadLane). This PR, removes the check whether it's a remote, and whenever an index.json file is outdated, it deletes it and throw an error telling the user to re-run the command.

@davidfirst davidfirst merged commit 8ef0c06 into master Oct 14, 2024
11 checks passed
@davidfirst davidfirst deleted the delete-index-json-on-remote branch October 14, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants