Skip to content

Commit 130c2a9

Browse files
committed
style: prettier
1 parent 04ad9cb commit 130c2a9

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

packages/e2e/spec/pull-diff-push/push-with-no-sync-policy-roles.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ export const pushWithNoSyncPolicyRoles = (context: Context) => {
8181
});
8282

8383
it('should not dump role attachments on pull when --no-sync-policy-roles is set', async () => {
84-
const sync = await context.getSync(
85-
'temp/pull-with-no-sync-policy-roles',
86-
);
84+
const sync = await context.getSync('temp/pull-with-no-sync-policy-roles');
8785
const directus = context.getDirectus();
8886
const client = directus.get();
8987

@@ -109,11 +107,12 @@ export const pushWithNoSyncPolicyRoles = (context: Context) => {
109107
f.endsWith('.json'),
110108
);
111109
const dumped = await Promise.all(
112-
files.map((f) =>
113-
fs.readJSON(path.join(collectionsDir, f)) as Promise<{
114-
name?: string;
115-
roles?: unknown[];
116-
}>,
110+
files.map(
111+
(f) =>
112+
fs.readJSON(path.join(collectionsDir, f)) as Promise<{
113+
name?: string;
114+
roles?: unknown[];
115+
}>,
117116
),
118117
);
119118
const ourPolicy = dumped.find((p) => p.name === policy.name);

0 commit comments

Comments
 (0)