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: lockfile corrupt after config dep removal sometimes #14

Merged
merged 5 commits into from
Feb 5, 2024

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Feb 5, 2024

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the diff in e3870c5 for how this file changed

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

assert!(packages.npm.contains_key(npm_id), "Missing: {}", id);
} else if id.strip_prefix("jsr:").is_some() {
// ignore jsr packages because they won't be in the lockfile when they don't have dependencies
// todo(dsherret): actually include them here because we need to lock the manifest version
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open an issue about it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nvm, I see it

@dsherret dsherret merged commit 12b73d5 into denoland:main Feb 5, 2024
1 check passed
@dsherret dsherret deleted the fix_lockfile_missing_deps branch February 5, 2024 22:08
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.

None yet

2 participants