module Dependabot::Dep::NativeHelpers
Public Class Methods
clean_path(path)
click to toggle source
# File lib/dependabot/dep/native_helpers.rb, line 15 def self.clean_path(path) Pathname.new(path).cleanpath.to_path end
helper_path()
click to toggle source
# File lib/dependabot/dep/native_helpers.rb, line 6 def self.helper_path clean_path(File.join(native_helpers_root, "dep/bin/helper")) end
native_helpers_root()
click to toggle source
# File lib/dependabot/dep/native_helpers.rb, line 10 def self.native_helpers_root default_path = File.join(__dir__, "../../../helpers/install-dir") ENV.fetch("DEPENDABOT_NATIVE_HELPERS_PATH", default_path) end