fix(playwright-test): _removeOutputDirs called without await always returns truthy (#19771)

This commit is contained in:
Michael Glass 2022-12-31 20:05:10 +01:00 committed by GitHub
parent caec93ef42
commit 13c5019ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -472,7 +472,7 @@ export class Runner {
return { status: 'passed' };
// Remove output directores.
if (!this._removeOutputDirs(options))
if (!await this._removeOutputDirs(options))
return { status: 'failed' };
// Run Global setup.