<commit_before><% if @super_user -%>
user <%= @daemon_user %>;
<% end -%>
worker_processes <%= @worker_processes %>;
<% if @worker_rlimit_nofile -%>
worker_rlimit_nofile <%= @worker_rlimit_nofile %>;
<% end -%>

<% if @pid -%>
pid        <%= @pid %>;
<% end -%>
error_log  <%= @nginx_error_log %>;

<% if @nginx_cfg_prepend -%>
  <%- field_width = @nginx_cfg_prepend.inject(0) { |l,(k,v)| k.size > l ? k.size : l } -%>
  <%- @nginx_cfg_prepend.sort_by{|k,v| k}.each do |key,value| -%>
    <%- Array(value).each do |asubvalue| -%>
      <%= sprintf("%-*s", field_width, key) %> <%= asubvalue %>;
    <%- end -%>
  <%- end -%><commit_msg>Remove spaces form nginx erb prepend block<commit_after><% if @super_user -%>
user <%= @daemon_user %>;
<% end -%>
worker_processes <%= @worker_processes %>;
<% if @worker_rlimit_nofile -%>
worker_rlimit_nofile <%= @worker_rlimit_nofile %>;
<% end -%>

<% if @pid -%>
pid        <%= @pid %>;
<% end -%>
error_log  <%= @nginx_error_log %>;

<% if @nginx_cfg_prepend -%>
<%- field_width = @nginx_cfg_prepend.inject(0) { |l,(k,v)| k.size > l ? k.size : l } -%>
<%- @nginx_cfg_prepend.sort_by{|k,v| k}.each do |key,value| -%>
<%- Array(value).each do |asubvalue| -%>
<%= sprintf("%-*s", field_width, key) %> <%= asubvalue %>;
<%- end -%>
<%- end -%>
{'fraction_non_alphanumeric': 0.25136612021857924, 'fraction_numerical': 0.00156128024980484, 'mean_word_length': 3.8745247148288975, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2207924', 'n_tokens_mistral': 606, 'n_tokens_neox': 556, 'n_words': 90}