Skip to content

Conversation

CommanderRoot
Copy link
Contributor

Description

String.prototype.substr() is deprecated so we replace it with String.prototype.slice() which works similarily but isn't deprecated.
.substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.

Code sample

CommanderRoot and others added 2 commits March 26, 2022 12:55
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
@taeold
Copy link
Contributor

taeold commented Mar 30, 2022

@CommanderRoot Hey! Thank you for your contribution.

I realize that Functions SDK is not setup to receive external contribution - we'd need to do some work in order to comply with internal policies. I'll keep you posted when we get that setup completed.

@taeold
Copy link
Contributor

taeold commented Mar 31, 2022

@CommanderRoot I was wrong - we do have CLA setup in this repo. Thank you for your contribution!

@taeold taeold merged commit 393efce into firebase:master Mar 31, 2022
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.

2 participants