Skip to content

Commit

Permalink
Merge pull request #4 from pegasd/GH-3_read_local_modules
Browse files Browse the repository at this point in the history
Read local modules in both formats
  • Loading branch information
pegasd authored Aug 10, 2019
2 parents 53eab89 + fc468dd commit d070663
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 [{ 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 d070663

Please sign in to comment.