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 engine #9

Merged
merged 4 commits into from
Jul 18, 2024
Merged

Refactor engine #9

merged 4 commits into from
Jul 18, 2024

Conversation

notJoon
Copy link
Contributor

@notJoon notJoon commented Jul 18, 2024

Description

This pull request refactors the engine code to improve readability and maintainability.

It includes changes to the ReadSourceCode function in the internal package to read the content of a file and return it as a SourceCode struct.

It also removes the detectUnnecessaryElse and detectUnusedFunctions functions from the Engine struct in the internal package. These functions were detecting unnecessary else blocks and unused functions respectively. The changes in this pull request aim to streamline the code and remove unnecessary complexity.

@notJoon notJoon added the enhancement New feature or request label Jul 18, 2024
@notJoon notJoon merged commit 9e8de0b into main Jul 18, 2024
1 check passed
@notJoon notJoon deleted the abstract-engine branch July 18, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant