Commit fa2c2de4d9441ad6eb4c90e4eb99c33739622b9a

Thomas de Grivel 2023-02-17T16:51:44

debug in :dev env

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/lib/kmxgit_web/templates/repository/ci.html.heex b/lib/kmxgit_web/templates/repository/ci.html.heex
index 64a0c7b..b3642a1 100644
--- a/lib/kmxgit_web/templates/repository/ci.html.heex
+++ b/lib/kmxgit_web/templates/repository/ci.html.heex
@@ -1,7 +1,9 @@
 <div class="container-fluid">
   <%= render("ci_title.html", assigns) %>
 
-  <%= inspect @ci %>
+  <%= if Mix.env == :dev do %>
+    <%= inspect @ci %>
+  <% end %>
 
   <%= if @ci.files do %>
     <p>