Skip to content

Commit

Permalink
Merge pull request #1401 from david-allan-jones/replace_deprecated_su…
Browse files Browse the repository at this point in the history
…bstr

Replace deprecated substr with substring in github issue template
  • Loading branch information
orta authored Aug 20, 2023
2 parents eb1d4f9 + 7fac525 commit 029fb4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/runner/templates/githubIssueTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const truncate = (msg: string, count: number) => {
if (msg.length < count) {
return msg
} else {
return msg.substr(0, count - 3) + "..."
return msg.substring(0, count - 3) + "..."
}
}

Expand Down

0 comments on commit 029fb4f

Please sign in to comment.