CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-services

refactor to use Page logic

Open
#489 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

> The `error_out` variable is declared with `let` but doesn't need reassignment. It could be declared with `const` at the point where it's assigned. Consider refactoring to throw the error directly at each error point rather than assigning to a variable first, which would be clearer and more idiomatic.

_Originally posted by @Copilot in [#431](https://github.com/CenterForDigitalHumanities/TPEN-services/pull/431/changes#r2608032929)_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.