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

Fixed -s (--save) feature #90

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

asgibson
Copy link
Contributor

@asgibson asgibson commented Dec 1, 2023

Changed from mkdir to makedirs with exist_ok set to True

  • this allows any existing directories to be left alone
  • this allows any non-exisiting directories to be built along the chain

Removed prefixed '/' from save_path creation as it made double '//'
Updated unit test

Changed from mkdir to makedirs with exist_ok set to True
  this allows any existing directories to be left alone
  this allows any non-exisiting directories to be build along the chain
Removed prefixed '/' from save_path as it created double '//'
Updated unit test
@asgibson asgibson added the bug Something isn't working label Dec 1, 2023
@asgibson asgibson self-assigned this Dec 1, 2023
@asgibson asgibson linked an issue Dec 1, 2023 that may be closed by this pull request
Copy link
Contributor

@the-other-james the-other-james left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the fix!

I think we need to revisit if this is functionality we want to build in or if a plugin would be more appropriate (#91)

@asgibson asgibson merged commit a54bac0 into main Dec 4, 2023
2 checks passed
@asgibson asgibson deleted the 88-save-doesnt-save-any-results-to-a-file branch December 4, 2023 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--save doesn't save any results to a file
2 participants