Skip to content

Commit

Permalink
GH-3 Read local modules in both formats
Browse files Browse the repository at this point in the history
  • Loading branch information
pegasd committed Aug 8, 2019
1 parent 53eab89 commit 8935949
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
if args == { local: true } || args == :local
@type = :local
elsif args.nil? || args.is_a?(String) || args.is_a?(Symbol)
@type = :forge
Expand Down

0 comments on commit 8935949

Please sign in to comment.