mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 21:54:06 +00:00
Do not use variables in void context
This commit is contained in:
parent
31212b4f1c
commit
3901973fd6
2 changed files with 1 additions and 3 deletions
|
|
@ -75,9 +75,8 @@ Lint/UnusedMethodArgument:
|
|||
Lint/UselessAssignment:
|
||||
Enabled: true
|
||||
|
||||
# Offense count: 1
|
||||
Lint/Void:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
|
||||
# Offense count: 17
|
||||
Style/AccessorMethodName:
|
||||
|
|
|
|||
|
|
@ -182,7 +182,6 @@ class ProposalController < ApplicationController
|
|||
end
|
||||
|
||||
def restart
|
||||
@event
|
||||
if @event.transition_possible? :restart
|
||||
begin
|
||||
@event.restart
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue