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 Label Manipulation #264

Closed
wants to merge 1 commit into from
Closed

✨ Refactor Label Manipulation #264

wants to merge 1 commit into from

Conversation

RipulHandoo
Copy link
Contributor

Pull Request: Refactor Label Manipulation

Description:
Introducing the 'formatLabel' helper function to refactor and centralize key-value label manipulation throughout the engine directory codebase. This change addresses the issue of repeated label string manipulation, enhancing code organization and maintainability.

Changes Made:

  • Added 'formatLabel' function to handle label key-value formatting.
  • Replaced instances of label construction with calls to 'formatLabel'.
  • Ensured consistent usage of 'formatLabel' for label manipulation.

Purpose:
The goal is to improve code readability and reduce code duplication related to label handling. By introducing the 'formatLabel' helper function, we achieve a more organized approach to working with labels, enhancing the overall code quality.

This pull request resolves issue #262 .

@RipulHandoo RipulHandoo changed the title Refactor Label Manipulation ✨ Refactor Label Manipulation Jul 19, 2023
@RipulHandoo RipulHandoo deleted the master branch July 19, 2023 16:04
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.

1 participant