Skip to content

Commit

Permalink
Actually sort the simple Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolalsvk committed Jul 29, 2017
1 parent ec03588 commit d8a9ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ordinare.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def sort(path = "Gemfile")

content = File.readlines(path)

content.sort
content = content.sort

File.open("#{path}.ordinare", "w+") do |file|
content.each { |line| file.puts(line) }
Expand Down

0 comments on commit d8a9ffe

Please sign in to comment.