We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 284b445 commit 3c52a5eCopy full SHA for 3c52a5e
lib/language_pack/ruby.rb
@@ -692,6 +692,8 @@ def node_bp_bin_path
692
"#{Dir.pwd}/#{NODE_BP_PATH}"
693
end
694
695
+ # checks if node.js is installed via the official heroku-buildpack-nodejs using multibuildpack
696
+ # @return [Boolean] true if it's detected and false if it isn't
697
def node_js_installed?
698
@node_js_installed ||= run("#{node_bp_bin_path}/node -v") && $?.success?
699
0 commit comments