Skip to content

Commit

Permalink
cherry-pick(#19771): fix(playwright-test): _removeOutputDirs called w…
Browse files Browse the repository at this point in the history
…ithout await always returns truthy

SHA: 13c5019
  • Loading branch information
michaelglass authored and aslushnikov committed Jan 5, 2023
1 parent b8b1c40 commit 9e70015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playwright-test/src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9e70015

Please sign in to comment.