chore: remove all .substring() usage (#6352)

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
This commit is contained in:
CommanderRoot
2022-03-30 13:25:12 +02:00
committed by GitHub
parent 59b9348093
commit ad82a0f0bc
8 changed files with 12 additions and 21 deletions

View File

@ -52,7 +52,7 @@ async function prepareTestGitLabRepo() {
// postfix a random string to avoid collisions
const postfix = Math.random()
.toString(32)
.substring(2);
.slice(2);
const testRepoName = `${repo}-${Date.now()}-${postfix}`;
const client = getGitLabClient(token);