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

feat: ability to provide a checksum for global cache #42

Merged
merged 3 commits into from
Feb 14, 2024

Conversation

dsherret
Copy link
Member

This provides a checksum that is only evaluated for the global cache and not the local one (the vendor folder). This allows people to make modifications to the vendor folder without encountering lockfile errors.

@dsherret dsherret marked this pull request as ready for review February 14, 2024 17:22
@@ -46,6 +46,8 @@ export class AuthTokens {
tokens.push({ type: "bearer", host, token });
}
} else {
// todo(dsherret): feel like this should error?
// deno-lint-ignore no-console

Choose a reason for hiding this comment

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

Is it better to just throw here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that's what I added the todo about. It's weird this code does this. I opened #43 just now.

Copy link

@mmastrac mmastrac left a comment

Choose a reason for hiding this comment

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

LGTM

@dsherret dsherret merged commit e425963 into denoland:main Feb 14, 2024
4 checks passed
@dsherret dsherret deleted the feat_ability_provide_checksum branch February 14, 2024 19:33
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