fix(playwright-test): _removeOutputDirs called without await always returns truthy (#19771)
This commit is contained in:
parent
caec93ef42
commit
13c5019ac9
|
|
@ -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