Skip to content

Commit

Permalink
fixed sort when digesting appconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Jun 27, 2021
1 parent 9feb6fd commit bc2824a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/plugin_init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def self.digest
else
[k, v]
end
}.sort].to_s.gsub(/\#<Proc:[^>]+>/, 'Proc'))
}].sort_by{|k,v| k.to_s}.to_h.to_s.gsub(/\#<Proc:[^>]+>/, 'Proc'))
end
end

Expand Down

0 comments on commit bc2824a

Please sign in to comment.