summaryrefslogtreecommitdiff
path: root/exe
diff options
context:
space:
mode:
authorCan Eldem <celdem@Cans-MBP.fritz.box>2020-04-04 19:04:50 +0100
committerCan Eldem <celdem@Cans-MBP.fritz.box>2020-04-04 19:04:50 +0100
commitaa607fa9a6c60ec321047721a4e31b4fadddb143 (patch)
treeeb2d55aa62b58437d77fe7e6dbadfae1b394d61f /exe
parent98adff44a04de722377f7dfdf18819d86ccafc90 (diff)
Fix client import
Diffstat (limited to 'exe')
-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")