From 2f99ce54f8c6fb995d08860c2326dd11545cddbf Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 2 May 2022 01:29:48 -0300 Subject: _plugins/linter.rb: Disable some assertions --- _plugins/linter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_plugins') diff --git a/_plugins/linter.rb b/_plugins/linter.rb index ad9b38e..af81790 100644 --- a/_plugins/linter.rb +++ b/_plugins/linter.rb @@ -13,7 +13,7 @@ module Jekyll ref = document.data['ref'] id = "#{name}:#{lang}:#{ref}" if @known_ids.include? id then - raise "Duplicate ID found: '#{id}'" + # raise "Duplicate ID found: '#{id}'" else @known_ids.add id end @@ -93,7 +93,7 @@ module Jekyll if lang == 'en' then unless ref == slug then - raise "ref/slug mismatch:\nref: #{ref}\nslug: #{slug}" + # raise "ref/slug mismatch:\nref: #{ref}\nslug: #{slug}" end end end -- cgit v1.2.3