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

Code duplication in book validity check #377

Open
amyjko opened this issue May 27, 2024 · 0 comments
Open

Code duplication in book validity check #377

amyjko opened this issue May 27, 2024 · 0 comments
Assignees
Labels
debt Refactoring opportunities that improve maintainability or modifiability.

Comments

@amyjko
Copy link
Owner

amyjko commented May 27, 2024

We have two Node scripts, one called import.js, and the other build.js in the bookish-reader repository. Both do roughly the same thing, checking a local folder file for a valid book, and then doing something with it.

import.js has a function that does this that build.js should reuse, rather than duplicating.

@amyjko amyjko added the debt Refactoring opportunities that improve maintainability or modifiability. label May 27, 2024
@amyjko amyjko self-assigned this May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Refactoring opportunities that improve maintainability or modifiability.
Projects
Status: No status
Development

No branches or pull requests

1 participant