chore: remove all .substring() usage (#6352)
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user