From 1cb36e33cb9cbf7a949d2d9e064ed12396acc38a Mon Sep 17 00:00:00 2001 From: mishina Date: Sun, 9 Oct 2022 18:07:04 +0900 Subject: [PATCH] fix: Suppress Tilt warning Generating stats with Haml6 raises the following warning: ``` Haml::TempleEngine: Option :line is invalid ``` By loading haml before tilt, the warning is suppressed because it uses `Haml::Template` provided by Haml6. --- lib/git_stats.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/git_stats.rb b/lib/git_stats.rb index a0406f9009..2cc841b341 100644 --- a/lib/git_stats.rb +++ b/lib/git_stats.rb @@ -8,6 +8,7 @@ def self.root require 'active_support/all' require 'fileutils' +require 'haml' require 'tilt' require 'pathname' require 'lazy_high_charts'