chore: remove all .substring() usage (#6352)
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
This commit is contained in:
@ -61,7 +61,7 @@ let serverProcess;
|
||||
async function setupProxy(options) {
|
||||
const postfix = Math.random()
|
||||
.toString(32)
|
||||
.substring(2);
|
||||
.slice(2);
|
||||
|
||||
const testRepoName = `proxy-test-repo-${Date.now()}-${postfix}`;
|
||||
const tempDir = path.join('.temp', testRepoName);
|
||||
|
Reference in New Issue
Block a user