Skip to content

Commit

Permalink
fix: Suppress Tilt warning
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mishina2228 committed Oct 9, 2022
1 parent 5d4be31 commit 1cb36e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/git_stats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def self.root

require 'active_support/all'
require 'fileutils'
require 'haml'
require 'tilt'
require 'pathname'
require 'lazy_high_charts'
Expand Down

0 comments on commit 1cb36e3

Please sign in to comment.