~michalr/blog2gmi

87b2f947677e1bce890e18a42206f6e8172d22fa — MichaƂ Rudowicz 4 years ago a527c37
Compilation warning + error fix
2 files changed, 3 insertions(+), 0 deletions(-)

M .build.yml
M src/extract_jekyll_front_matter.cr
M .build.yml => .build.yml +1 -0
@@ 4,6 4,7 @@ packages:
- shards
- xz
- lftp
- yaml-dev
secrets:
- 37de76ab-f4c1-4ac0-a8ed-8a9562205c65
environment:

M src/extract_jekyll_front_matter.cr => src/extract_jekyll_front_matter.cr +2 -0
@@ 22,6 22,8 @@ def extract_jekyll_front_matter(input : String)
      end
    when :markdown
      markdown << line << "\n"
    else
      raise "Should not happen"
    end
  end
  raise "Front matter not closed" if step == :front_matter