Skip to content

Commit

Permalink
fix(playwright-test): _removeOutputDirs called without await always r…
Browse files Browse the repository at this point in the history
…eturns truthy (#19771)
  • Loading branch information
michaelglass authored Dec 31, 2022
1 parent caec93e commit 13c5019
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 13c5019

Please sign in to comment.