Skip to content

Commit

Permalink
Fix ameba codebase due to new rule
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywasishere committed Dec 3, 2024
1 parent 1a166c4 commit bb50c50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ameba/rule/documentation/documentation_admonition.cr
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ module Ameba::Rule::Documentation
MSG_ERR = "%s admonition error: %s"

@[YAML::Field(ignore: true)]
private getter location : Time::Location {
private getter location : Time::Location do
Time::Location.load(self.timezone)
}
end

def test(source)
Tokenizer.new(source).run do |token|
Expand Down

0 comments on commit bb50c50

Please sign in to comment.