Skip to content

panic if a campaign fetched from the cache has multiple commits

Warren Gifford requested to merge cp/campaigns_panic_on_multi_commit into main

Created by: chrispine

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.

Merge request reports

Loading