Skip to content

Commit

Permalink
chore: ignore RWLock from Istanbul coverage
Browse files Browse the repository at this point in the history
This periodically blocks PRs on CodeCov if the locking logic
nondeterminstically happens to have taken another path.
  • Loading branch information
rix0rrr committed Dec 11, 2024
1 parent c208789 commit d9e95e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk/lib/api/util/rwlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import * as path from 'path';
* This class is not 100% race safe, but in practice it should be a lot
* better than the 0 protection we have today.
*/
/* istanbul ignore next */
export class RWLock {
private readonly pidString: string;
private readonly writerFile: string;
Expand Down

0 comments on commit d9e95e7

Please sign in to comment.