diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-04-23 01:49:09 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-04-23 02:41:15 -0600 |
| commit | 26037397dfb40550643793fa2a2989f5f0c4594b (patch) | |
| tree | cb1d71c3ca2300b089d7e7098b94f45b313951f6 /bin | |
| parent | 5e545bb52c2784809357e9ea54c4a0c4458e83f4 (diff) | |
resolves #262 add asciidoctor/pdf as require alias
- add asciidoctor/pdf as require alias to align with RubyGems conventions
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/asciidoctor-pdf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/asciidoctor-pdf b/bin/asciidoctor-pdf index 1036cf5b..d300359d 100755 --- a/bin/asciidoctor-pdf +++ b/bin/asciidoctor-pdf @@ -1,9 +1,9 @@ #!/usr/bin/env ruby -if File.file?(asciidoctor_pdf = (File.expand_path '../../lib/asciidoctor-pdf.rb', __FILE__)) +if File.file?(asciidoctor_pdf = (File.expand_path '../../lib/asciidoctor/pdf.rb', __FILE__)) require asciidoctor_pdf else - require 'asciidoctor-pdf' + require 'asciidoctor/pdf' end require 'asciidoctor/cli' |
