Skip to content

Commit

Permalink
Remove redundant line continuation
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp-work committed Apr 6, 2023
1 parent 080d5ef commit 61a2c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/bs_request_permission_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def set_permissions_for_action(action, new_state = nil)
# general write permission check on the target on accept
@write_permission_in_this_action = false
# meta data change shall also be allowed after freezing a project using force:
ignore_lock = (new_state == 'declined') || \
ignore_lock = (new_state == 'declined') ||
(opts[:force] && action.action_type == :set_bugowner)
if @target_package
if accept_user.can_modify?(@target_package, ignore_lock)
Expand Down

0 comments on commit 61a2c0e

Please sign in to comment.