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

Consolidation of Duplicate Code in Shell Scripts #68

Open
sbaerlocher opened this issue Feb 23, 2024 · 0 comments
Open

Consolidation of Duplicate Code in Shell Scripts #68

sbaerlocher opened this issue Feb 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@sbaerlocher
Copy link
Contributor

It has been observed that the scripts shell.sh/shell/root.sh and exec.sh/exec/root.sh contain similar code blocks, complicating maintenance and potentially leading to inconsistencies.

Improvement Suggestion:

Consolidating the duplicate code into shared internal functions could enhance code quality and simplify maintenance:

  1. Identification of duplicate code.
  2. Development of internal functions for shared logic.
  3. Replacement of the duplicate code with calls to these functions, followed by testing to ensure functionality.

Implementing these changes would significantly improve efficiency and maintainability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants