Skip to content

Commit

Permalink
GH-3 RuboCop
Browse files Browse the repository at this point in the history
  • Loading branch information
pegasd committed Aug 10, 2019
1 parent 8935949 commit fc468dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppetfile_editor/module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def initialize(title, args = nil)
@params = nil
@message = nil
@status = nil
if args == { local: true } || args == :local
if [{ local: true }, :local].include? args
@type = :local
elsif args.nil? || args.is_a?(String) || args.is_a?(Symbol)
@type = :forge
Expand Down

0 comments on commit fc468dd

Please sign in to comment.