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

Refactor clipboard exporter as a function #34

Merged
merged 1 commit into from
Sep 4, 2021

Conversation

cydanil
Copy link
Contributor

@cydanil cydanil commented Sep 4, 2021

Description

This simplifies the clipboard exporter to a single function, rather than an object.

Ingredients that do not have quantities are now better formatted, as mentionned in #26 , as well as links if any.

How Has This Been Tested?

This was tested by updating the test, and by copying a recipe to a text file and checking the expected output.

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@cydanil cydanil linked an issue Sep 4, 2021 that may be closed by this pull request
@lgtm-com
Copy link

lgtm-com bot commented Sep 4, 2021

This pull request introduces 1 alert when merging a12aff9 into d2df803 - view on LGTM.com

new alerts:

  • 1 for Unused import

@cydanil cydanil merged commit 9363b41 into GourmandRecipeManager:main Sep 4, 2021
@cydanil cydanil deleted the fix/26 branch September 4, 2021 12:16
@cydanil cydanil restored the fix/26 branch September 8, 2021 10:23
@cydanil cydanil deleted the fix/26 branch September 8, 2021 10:25
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.

Clipboard Exporter has None when no values are available
1 participant