Skip to content

Remove dead constant: Spoom::Color::LIGHT_CYAN - #998

Closed
dx-codedb[bot] wants to merge 1 commit into
mainfrom
code-db/code_removal/spoom/spoom__color__light_cyan
Closed

Remove dead constant: Spoom::Color::LIGHT_CYAN#998
dx-codedb[bot] wants to merge 1 commit into
mainfrom
code-db/code_removal/spoom/spoom__color__light_cyan

Conversation

@dx-codedb

@dx-codedb dx-codedb Bot commented Aug 6, 2026

Copy link
Copy Markdown

This constant appears to be unused and could be removed.

Before approving this pull-request, please double-check that it is indeed unused.

If this code is actually used, please add a comment explaining why and close this pull-request.

You can find more unused code in your project at: https://code.shopify.io/shopify/projects/spoom/code_removals/spoom

Note: closing this pull-request will mark the code as ignored and exclude it from future dead code detection.

@dx-codedb
dx-codedb Bot requested a review from a team as a code owner August 6, 2026 02:27
Comment thread lib/spoom/colors.rb
CYAN = new("\e[36m") #: Color
WHITE = new("\e[37m") #: Color

LIGHT_BLACK = new("\e[90m") #: Color

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is scoped to LIGHT_CYAN, but this deletes the whole light color block. LIGHT_BLACK is still used in lib/spoom/cli/helper.rb and lib/spoom/sorbet/lsp/structures.rb, so removing it will raise a NameError on those code paths.

Let's only remove LIGHT_CYAN here and keep the constants that are still referenced.

@Morriar Morriar closed this Aug 6, 2026
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