Skip to content

Commit 1350d75

Browse files
authored
msw: Fix prettier issue (#12540)
1 parent 26a95f0 commit 1350d75

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/crates-io-msw/models/crate-ownership.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,14 @@ const schema = v.pipe(
1919
return { ...input, id };
2020
}),
2121
v.check(input => input.crate != null, 'Missing `crate` relationship on `crate-ownership`'),
22-
v.check(input => input.team != null || input.user != null, 'Missing `team` or `user` relationship on `crate-ownership`'),
23-
v.check(input => !(input.team != null && input.user != null), '`team` and `user` on a `crate-ownership` are mutually exclusive'),
22+
v.check(
23+
input => input.team != null || input.user != null,
24+
'Missing `team` or `user` relationship on `crate-ownership`',
25+
),
26+
v.check(
27+
input => !(input.team != null && input.user != null),
28+
'`team` and `user` on a `crate-ownership` are mutually exclusive',
29+
),
2430
);
2531

2632
const collection = new Collection({ schema });

0 commit comments

Comments
 (0)