Fix mock test path prefix
This commit is contained in:
parent
40c21b1666
commit
3fa6185d39
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ export class Bootstrap {
|
||||||
await fs.mkdir(ARTIFACTS_DIR, { recursive: true });
|
await fs.mkdir(ARTIFACTS_DIR, { recursive: true });
|
||||||
|
|
||||||
const normalizedPrefix = pathPrefix
|
const normalizedPrefix = pathPrefix
|
||||||
? `-${normalizePath(pathPrefix.replace(/[ /]/g, '-'))}-`
|
? `-${normalizePath(pathPrefix.replace(/[^a-z]+/gi, '-'))}-`
|
||||||
: '';
|
: '';
|
||||||
const outDir = await fs.mkdtemp(
|
const outDir = await fs.mkdtemp(
|
||||||
path.join(ARTIFACTS_DIR, `logs-${normalizedPrefix}`)
|
path.join(ARTIFACTS_DIR, `logs-${normalizedPrefix}`)
|
||||||
|
|
Loading…
Reference in a new issue