From 13b635aaca10ba1dda9c78cd829d642d053b5ad8 Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Mon, 29 Aug 2022 17:23:18 +0200 Subject: [PATCH] lint fix --- tests/e2e/cucumber/steps/app-files/share.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/e2e/cucumber/steps/app-files/share.ts b/tests/e2e/cucumber/steps/app-files/share.ts index e4837069162..0af76d0cd87 100644 --- a/tests/e2e/cucumber/steps/app-files/share.ts +++ b/tests/e2e/cucumber/steps/app-files/share.ts @@ -20,7 +20,11 @@ When( acc[resource] = { recipients: [], role: '', type: '' } } - acc[resource].recipients.push(type === 'group' ? this.usersEnvironment.getGroup({ key: recipient }) : this.usersEnvironment.getUser({ key: recipient })) + acc[resource].recipients.push( + type === 'group' + ? this.usersEnvironment.getGroup({ key: recipient }) + : this.usersEnvironment.getUser({ key: recipient }) + ) acc[resource].role = role return acc @@ -49,7 +53,11 @@ When( acc[resource] = { recipients: [], role: '', type: '' } } - acc[resource].recipients.push(type === 'group' ? this.usersEnvironment.getGroup({ key: recipient }) : this.usersEnvironment.getUser({ key: recipient })) + acc[resource].recipients.push( + type === 'group' + ? this.usersEnvironment.getGroup({ key: recipient }) + : this.usersEnvironment.getUser({ key: recipient }) + ) acc[resource].role = role return acc