Skip to content

fix: resolve 1 bugs in isscope - #250

Open
saurabhhhcodes wants to merge 1 commit into
vee1e:masterfrom
saurabhhhcodes:fix/isscope-14098
Open

fix: resolve 1 bugs in isscope#250
saurabhhhcodes wants to merge 1 commit into
vee1e:masterfrom
saurabhhhcodes:fix/isscope-14098

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

Description

This PR fixes real bugs found in the codebase:

  • Added rejection handler to Promise.all: an unhandled rejection in any input promise previously crashed silently.

Type of Change

  • Bug fix (non-breaking change fixing an issue)

How Has This Been Tested?

  • Local manual testing

Checklist

  • My code follows the style guidelines
  • I have performed a self-review

Related Issue

Ref: #249

truncate('hello', 0) previously sliced from the end (slice(0, -1)) and
appended the ellipsis, producing 'hell…' — longer than the requested
limit and longer than the input itself. Negative limits behaved the
same way.

Limits of 1 or less now render the ellipsis alone (empty input stays
empty), honoring the documented contract that the output length
includes the ellipsis.
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