Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed Aug 29, 2022
1 parent d14d7ba commit c65d807
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/e2e/cucumber/steps/app-files/share.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c65d807

Please sign in to comment.