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

Convert substr() usage to substring() #1913

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

jelly
Copy link
Member

@jelly jelly commented Nov 21, 2024

String.prototype.substr() is a deprecated API.


Couldn't find an eslint rule for this, so we'll have to pay attention.

String.prototype.substr() is a deprecated API.
@jelly jelly requested a review from martinpitt November 21, 2024 17:41
Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

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

Dankjewel!

@martinpitt martinpitt merged commit ebc96f9 into cockpit-project:main Nov 21, 2024
33 checks passed
@jelly jelly deleted the substr-to-substring branch November 21, 2024 19:10
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