Skip to content

Commit

Permalink
Happy rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Feb 14, 2017
1 parent 4f37baf commit 2577ba7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/installation/clients/inst_casp_overview.rb
Expand Up @@ -77,8 +77,9 @@ def run
)

# Currently no other return value is expected, behavior can
# be unpredictable if something else is received
raise RuntimeError, "Unexpected return value" if ret != :next
# be unpredictable if something else is received - raise
# RuntimeError
raise "Unexpected return value" if ret != :next

# do software proposal
d = Yast::WFM.CallFunction("software_proposal",
Expand Down

0 comments on commit 2577ba7

Please sign in to comment.