chore(blob): add dash to report name (#26335)

This regressed in #25017
This commit is contained in:
Yury Semikhatsky 2023-08-07 17:22:31 -07:00 committed by GitHub
parent 7516d6a914
commit 7f1f62795d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ export class BlobReporter extends TeleReporterEmitter {
private _computeReportName(config: FullConfig) {
let reportName = 'report';
if (process.env.PWTEST_BLOB_REPORT_NAME)
reportName += sanitizeForFilePath(process.env.PWTEST_BLOB_REPORT_NAME);
reportName += `-${sanitizeForFilePath(process.env.PWTEST_BLOB_REPORT_NAME)}`;
if (config.shard) {
const paddedNumber = `${config.shard.current}`.padStart(`${config.shard.total}`.length, '0');
reportName += `-${paddedNumber}`;