refactor: replace deprecated String.prototype.substr()
Before adoption: this commit came in with the history the project adopted, so no landing records it.
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
authored by Tobias Speicher · committed by Abe Tomoaki · parent 8cbd082 · Browse files · 1 file+2 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
Diff stats
1 file+2 added−2 removed
- other:+2 added−2 removed