Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Homebrew/legacy-homebrew
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 21d00af6e2630699f19109ac709bcb4c4b8ea560
Choose a base ref
..
head repository: Homebrew/legacy-homebrew
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ae0feb006693de6d510985a842ac77faff4cabf0
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 Library/Formula/iojs.rb
4 changes: 2 additions & 2 deletions Library/Formula/iojs.rb
Original file line number Diff line number Diff line change
@@ -104,10 +104,10 @@ def caveats
if build.with? "npm"
# make sure npm can find node
ENV.prepend_path "PATH", opt_bin
assert_equal which("iojs"), opt_bin/"iojs"
assert_equal which("node"), opt_bin/"node"
assert (HOMEBREW_PREFIX/"bin/npm").exist?, "npm must exist"
assert (HOMEBREW_PREFIX/"bin/npm").executable?, "npm must be executable"
system "#{HOMEBREW_PREFIX}/bin/npm", "--userconfig=/dev/null", "--verbose", "install", "npm@latest"
system "#{HOMEBREW_PREFIX}/bin/npm", "--verbose", "install", "npm@latest"
end
end
end