cherry-pick(#19771): fix(playwright-test): _removeOutputDirs called without await always returns truthy
SHA: 13c5019ac9
This commit is contained in:
parent
b8b1c40cf3
commit
9e7001557e
|
|
@ -472,7 +472,7 @@ export class Runner {
|
||||||
return { status: 'passed' };
|
return { status: 'passed' };
|
||||||
|
|
||||||
// Remove output directores.
|
// Remove output directores.
|
||||||
if (!this._removeOutputDirs(options))
|
if (!await this._removeOutputDirs(options))
|
||||||
return { status: 'failed' };
|
return { status: 'failed' };
|
||||||
|
|
||||||
// Run Global setup.
|
// Run Global setup.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue