Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use correct flag order in format string

  • Loading branch information...
commit 7bbb704c9f30685b9034134efd42b0200c04720a 1 parent 0a43ee9
Jamis Buck jamis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  views/exception_notifier/_environment.rhtml
2  views/exception_notifier/_environment.rhtml
View
@@ -1,6 +1,6 @@
<% max = @request.env.keys.max { |a,b| a.length <=> b.length } -%>
<% @request.env.keys.sort.each do |key| -%>
-* <%= "%*-s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
+* <%= "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
<% end -%>
* Process: <%= $$ %>
Please sign in to comment.
Something went wrong with that request. Please try again.