This file is loaded by asciidoctor, the module is already loaded.
In addition to being less redundant this fixes a problem while trying
use a development version of asciidoctor when the gem is available:
$GEM_HOME/gems/asciidoctor-2.0.15/lib/asciidoctor.rb:51:
warning: already initialized constant Asciidoctor::RUBY_ENGINE
$HOME/asciidoctor/lib/asciidoctor.rb:52:
warning: previous definition of RUBY_ENGINE was here
...
That's a bug in asciidoctor, but there's no need to trigger it.
Signed-off-by: Felipe Contreras <redacted>
---
Documentation/asciidoctor-extensions.rb | 1 -
1 file changed, 1 deletion(-)
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index 70a0956663..423450392d 100644
--- a/Documentation/asciidoctor-extensions.rb
+++ b/Documentation/asciidoctor-extensions.rb
@@ -1,4 +1,3 @@
-require 'asciidoctor'
require 'asciidoctor/extensions'
module Git
--
2.32.0