summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexe/spandx5
1 files changed, 2 insertions, 3 deletions
diff --git a/exe/spandx b/exe/spandx
index 8aa4aaf..3741061 100755
--- a/exe/spandx
+++ b/exe/spandx
@@ -1,9 +1,8 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
-# lib_path = File.expand_path('../lib', __dir__)
-# $LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
-require 'spandx/spandx_cli'
+lib_path = File.expand_path('../lib', __dir__)
+require "#{lib_path}/spandx"
Signal.trap('INT') do
warn("\n#{caller.join("\n")}: interrupted")