Skip to content

Conversation

@andrea1gard
Copy link
Contributor

No description provided.

@andrea1gard andrea1gard self-assigned this Sep 24, 2025
message = status + wrapText(nodeMessage, undefined, calcPureLength(status));
const wrappedMessage = wrapText(
nodeMessage,
DEFAULT_LINE_LIMIT - calcPureLength(status),
Copy link
Member

@JeKachan JeKachan Sep 24, 2025

Choose a reason for hiding this comment

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

Did you cover scenario when DEFAULT_LINE_LIMIT - calcPureLength(status) will be less or eqal 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

max lenght of status is approx 12 right now so I don't think it will be an issue, still I will add a saveguard.

@JeKachan JeKachan requested a review from Noorama September 25, 2025 06:50
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.

3 participants