Module: Dependabot::NpmAndYarn::NativeHelpers
- Defined in:
- lib/dependabot/npm_and_yarn/native_helpers.rb
Class Method Summary collapse
Class Method Details
.helper_path ⇒ Object
6 7 8 |
# File 'lib/dependabot/npm_and_yarn/native_helpers.rb', line 6 def self.helper_path "node #{File.join(native_helpers_root, 'npm_and_yarn/run.js')}" end |
.native_helpers_root ⇒ Object
10 11 12 13 |
# File 'lib/dependabot/npm_and_yarn/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 |