Skip to content

fix: resolve 4 bugs in PulseStack - #177

Open
saurabhhhcodes wants to merge 1 commit into
NEXARA-oss:mainfrom
saurabhhhcodes:fix/PulseStack-51390
Open

fix: resolve 4 bugs in PulseStack#177
saurabhhhcodes wants to merge 1 commit into
NEXARA-oss:mainfrom
saurabhhhcodes:fix/PulseStack-51390

Conversation

@saurabhhhcodes

Copy link
Copy Markdown
Contributor

Description

This PR fixes real bugs found in the codebase:

  • Removed return undefined: bare return conveys the same intent without the redundant literal.
  • Fixed default sort: .sort() coerces elements to strings, so [10, 9, 2] sorts as [10, 2, 9]; numeric comparator sorts correctly.
  • Removed return undefined: bare return conveys the same intent without the redundant literal.
  • 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: #176

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