git: b19f1b1894 - main - macros: Unbreak build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Sep 2024 05:24:45 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=b19f1b1894932071da107f210d1cbc6539d20175 commit b19f1b1894932071da107f210d1cbc6539d20175 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2024-09-23 05:23:37 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2024-09-23 05:23:37 +0000 macros: Unbreak build Use a warning instead of an error for now. --- shared/lib/InterDocumentReferencesMacro/extension.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/lib/InterDocumentReferencesMacro/extension.rb b/shared/lib/InterDocumentReferencesMacro/extension.rb index da18d39935..e05cfe0a6f 100644 --- a/shared/lib/InterDocumentReferencesMacro/extension.rb +++ b/shared/lib/InterDocumentReferencesMacro/extension.rb @@ -13,7 +13,7 @@ class InterDocumentReferencesMacro < Asciidoctor::Extensions::InlineMacroProcess text = attrs[2] if text.nil? || text.empty? - raise StandardError, "Crossref needs a description." + warn "Crossref needs a description." end doc = parent.document