Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear interactions when setting mode
The previous commit cleared interactions every time a new interaction was recorded. That meant that only a single interaction could ever be saved. Here we clear interactions once when the mode is set. This'll happen after interactions have been loaded, since `VCRMiddleware` is instantiated using `TryFrom<PathBuf>` which loads the old interactions.
- Loading branch information