module Dependabot::Hex::NativeHelpers
Public Class Methods
clean_path(path)
click to toggle source
# File lib/dependabot/hex/native_helpers.rb, line 13 def self.clean_path(path) Pathname.new(path).cleanpath.to_path end
hex_helpers_dir()
click to toggle source
# File lib/dependabot/hex/native_helpers.rb, line 6 def self.hex_helpers_dir helpers_root = ENV["DEPENDABOT_NATIVE_HELPERS_PATH"] return File.join(helpers_root, "hex") unless helpers_root.nil? File.join(__dir__, "../../../../hex/helpers") end