diff options
author | EuAndreh <eu@euandre.org> | 2022-05-02 01:29:48 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-05-02 01:29:48 -0300 |
commit | 2f99ce54f8c6fb995d08860c2326dd11545cddbf (patch) | |
tree | ce9026c4c029399b1aa9a9a15a68b771b952964b /_plugins/linter.rb | |
parent | bin/tmp: Remove trailing "/" from $REMOTE_TMP (diff) | |
download | euandre.org-2f99ce54f8c6fb995d08860c2326dd11545cddbf.tar.gz euandre.org-2f99ce54f8c6fb995d08860c2326dd11545cddbf.tar.xz |
_plugins/linter.rb: Disable some assertions
Diffstat (limited to '')
-rw-r--r-- | _plugins/linter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |