Skip to content

Commit

Permalink
Update parse_config script to multi dimensional array
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestas-poskus committed Sep 16, 2017
1 parent 152d9f0 commit 0d7850b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
next if line.empty?
if line.start_with?('-')
argument = line[1..line.size-1].split[0]
puts %Q(#{argument}: "{{ #{PREFIX}_#{argument.gsub('.', '__').gsub('-', '_')} }}")
puts %Q( - ['#{argument}', "{{ #{PREFIX}_#{argument.gsub('.', '__').gsub('-', '_')} }}"])
else
# puts "# #{line}"
end
Expand Down

0 comments on commit 0d7850b

Please sign in to comment.