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(cli): collect comments before downloading attachments #299

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

joe-prosser
Copy link
Contributor

Fixes bug where comments would not be written when downloading attachments

@joe-prosser joe-prosser self-assigned this Aug 5, 2024
@@ -608,12 +608,6 @@ fn download_comments(
let page = page.context("Operation to get comments has failed.")?;
statistics.add_comments(page.len());

if let Some(attachments_dir) = &options.attachments_dir {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't allow downloading attachments when you don't have a dataset

@joe-prosser joe-prosser merged commit 4f58608 into master Aug 6, 2024
2 checks passed
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.

1 participant