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

panic if a campaign fetched from the cache has multiple commits #293

Merged
merged 1 commit into from
Aug 31, 2020

Conversation

chrispine
Copy link
Contributor

At some point in the future, we may support campaigns having multiple commits. At the moment, however, we do not. This PR causes src-cli to panic if it finds multiple commits.

This also allows the situation where a result from the cache would have zero commits, which should be acceptable.

@chrispine chrispine requested a review from a team August 28, 2020 17:38
@chrispine chrispine merged commit bda7607 into main Aug 31, 2020
@chrispine chrispine deleted the cp/campaigns_panic_on_multi_commit branch August 31, 2020 15:45
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.

4 participants