Skip to content

Commit

Permalink
Rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Oct 31, 2016
1 parent 19d146e commit 1457245
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/installation/proposal_store.rb
Expand Up @@ -304,11 +304,11 @@ def read_only_proposals
log.info "all proposals: #{properties["proposal_modules"]}"

properties.fetch("proposal_modules", []).each do |proposal|
if proposal["read_only"]
name = proposal["name"]
name += "_proposal" unless name.end_with?("_proposal")
@read_only_proposals << name
end
next unless proposal["read_only"]

name = proposal["name"]
name += "_proposal" unless name.end_with?("_proposal")
@read_only_proposals << name
end

log.info "Found read-only proposals: #{@read_only_proposals}"
Expand Down

0 comments on commit 1457245

Please sign in to comment.