diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-02-05 01:18:36 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-02-05 01:19:49 -0700 |
| commit | 6dfaaed8388c1812623478fd764d4c11cce77a06 (patch) | |
| tree | 95315bd89facba6b632299ed7ff49a65990f3785 | |
| parent | 21f67d35e9f85e6acf1ea99039a5b6ccc146546e (diff) | |
remove asciidoctor-safe binary
- use asciidoctor --safe instead
| -rwxr-xr-x | bin/asciidoctor-safe | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/asciidoctor-safe b/bin/asciidoctor-safe deleted file mode 100755 index 8686e378..00000000 --- a/bin/asciidoctor-safe +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env ruby - -asciidoctor = File.absolute_path '../lib/asciidoctor.rb', __dir__ -if File.exist? asciidoctor - require asciidoctor - require File.join Asciidoctor::LIB_DIR, 'asciidoctor/cli' -else - require 'asciidoctor' - require 'asciidoctor/cli' -end - -invoker = Asciidoctor::Cli::Invoker.new(ARGV + ['-S', 'safe']) -GC.start -invoker.invoke! -exit invoker.code |
