Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use String.prototype.charAt instead of .at #51955

Merged
merged 1 commit into from
May 18, 2023

Conversation

rshipp
Copy link
Contributor

@rshipp rshipp commented May 17, 2023

Use the older String.prototype.charAt in place of the newer String.prototype.at, to try to allow the build to pass.

Links

Slack: https://codedotorg.slack.com/archives/C0T0PNTM3/p1684359034466229

Testing story

Ran the MultiResponses unit tests locally, but that won't prove this passes in the real build. Neither will running them in drone, since that passed with the .at method originally.

@rshipp rshipp requested review from Hamms and a team May 17, 2023 21:50
Copy link
Contributor

@Hamms Hamms left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the quick fix!

One terminology note: we usually say "hotfix" to refer to a fix that's merged directly into production rather than going through the regular deploy process, which thankfully is not the case this time!

@rshipp rshipp changed the title [hotfix] Use String.prototype.charAt instead of .at Use String.prototype.charAt instead of .at May 17, 2023
@sanchitmalhotra126 sanchitmalhotra126 merged commit 0e7e52d into staging May 18, 2023
2 checks passed
@sanchitmalhotra126 sanchitmalhotra126 deleted the hotfix-string-at branch May 18, 2023 16:40
pablo-code-org pushed a commit that referenced this pull request May 25, 2023
snickell pushed a commit that referenced this pull request Feb 3, 2024
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.

None yet

4 participants