Skip to content

Commit

Permalink
Mark unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Mar 6, 2015
1 parent 36f90c2 commit 2735470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def apply_options(clampcommand)

def default_attributes(&block)
return if @options.nil?
@options.each do |flag, param, help, options, block|
@options.each do |flag, param, help, options, _block|
attr = flag.first.gsub(/^-+/, "").gsub(/-/, "_").gsub("[no_]", "")
attr += "?" if param == :flag
yield attr.to_sym, options[:default]
Expand Down

0 comments on commit 2735470

Please sign in to comment.