diff options
| author | Can Eldem <celdem@Cans-MBP.fritz.box> | 2020-04-04 19:04:50 +0100 |
|---|---|---|
| committer | Can Eldem <celdem@Cans-MBP.fritz.box> | 2020-04-04 19:04:50 +0100 |
| commit | aa607fa9a6c60ec321047721a4e31b4fadddb143 (patch) | |
| tree | eb2d55aa62b58437d77fe7e6dbadfae1b394d61f | |
| parent | 98adff44a04de722377f7dfdf18819d86ccafc90 (diff) | |
Fix client import
| -rwxr-xr-x | exe/spandx | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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") |
