ソースを参照

Merge pull request #258 from marianoguerra/fix-debug-format-params

fix debug format to avoid crash with custom template
pull/262/head
Fred Hebert 10年前
コミット
757a4541f8
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/rebar_templater.erl

+ 1
- 1
src/rebar_templater.erl ファイルの表示

@ -328,7 +328,7 @@ prioritize_templates([{Name, Type, File} | Rest], Valid) ->
prioritize_templates(Rest, Valid); prioritize_templates(Rest, Valid);
{_, file, _} -> {_, file, _} ->
?DEBUG("Skipping template ~p, due to presence of a custom " ?DEBUG("Skipping template ~p, due to presence of a custom "
"template at ~s~n", [File]),
"template at ~s~n", [Name, File]),
prioritize_templates(Rest, Valid) prioritize_templates(Rest, Valid)
end. end.

読み込み中…
キャンセル
保存