summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2017-12-30 15:38:09 -0600
committerOmar Roth <omarroth@hotmail.com>2017-12-30 15:38:09 -0600
commit87601d140053cfa77addaeb6bcdf20bd1463f9e9 (patch)
treefad1284eb9948dfec93ba97bb821247085129213
parent7fc7a47849896aeb49aa8c734f9c4eb1f4b9d907 (diff)
downloadinvidious-87601d140053cfa77addaeb6bcdf20bd1463f9e9.tar.gz
invidious-87601d140053cfa77addaeb6bcdf20bd1463f9e9.tar.bz2
invidious-87601d140053cfa77addaeb6bcdf20bd1463f9e9.zip
Run 'crystal tool format'
-rw-r--r--dev/sentry.cr15
-rw-r--r--src/invidious.cr1
2 files changed, 8 insertions, 8 deletions
diff --git a/dev/sentry.cr b/dev/sentry.cr
index 86d3261c..77da737d 100644
--- a/dev/sentry.cr
+++ b/dev/sentry.cr
@@ -8,13 +8,14 @@ module Sentry
property files = [] of String
def initialize(
- @process_name : String,
- @build_command : String,
- @run_command : String,
- @build_args : Array(String) = [] of String,
- @run_args : Array(String) = [] of String,
- files = [] of String,
- should_build = true)
+ @process_name : String,
+ @build_command : String,
+ @run_command : String,
+ @build_args : Array(String) = [] of String,
+ @run_args : Array(String) = [] of String,
+ files = [] of String,
+ should_build = true
+ )
@files = files
@should_build = should_build
@should_kill = false
diff --git a/src/invidious.cr b/src/invidious.cr
index df60ffdd..33be4c6f 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -5,7 +5,6 @@ require "pg"
require "xml"
require "time"
-
macro templated(filename)
render "src/views/#{{{filename}}}.ecr", "src/views/layout.ecr"
end