Skip to content

Conversation

@trivikr
Copy link
Member

@trivikr trivikr commented Apr 14, 2022

Issue

Noticed that Promises can be resolved/rejected only once while reviewing #3545

Description

Uses Promises in slurpFile hash

Testing

Unit testing

Additional context

StackOverflow discussion https://codereview.stackexchange.com/a/51658


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr requested a review from a team as a code owner April 14, 2022 22:28
@trivikr trivikr requested a review from kuhe April 14, 2022 22:29
@trivikr trivikr changed the title chore(shared-ini-file-loder): use Promises in slurpFile hash chore(shared-ini-file-loader): use Promises in slurpFile hash Apr 14, 2022
AllanZhengYP
AllanZhengYP previously approved these changes Apr 14, 2022
Copy link
Contributor

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

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

Looks good. We use the in the memoize() too, to handle concurrent calls.

@trivikr trivikr merged commit 7b8954d into aws:main Apr 20, 2022
@trivikr trivikr deleted the slurpfile-promise-hash branch April 20, 2022 19:10
keithalpichi pushed a commit to keithalpichi/aws-sdk-js-v3 that referenced this pull request Apr 23, 2022
@github-actions
Copy link

github-actions bot commented May 5, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants