Skip to content
Browse files

Updates the npm verifier to be a little more strict when searching fo…

…r module names.
  • Loading branch information...
1 parent 2f6fbee commit 784397431498958550f5da9034ee80bb50c5c76b Joe Bottigliero committed Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sprinkle/verifiers/npm.rb
View
2 lib/sprinkle/verifiers/npm.rb
@@ -13,7 +13,7 @@ module Npm
# Checks to make sure the npm <tt>module</tt> exists on the remote server.
def has_npm(package)
- @commands << "npm -g list | grep \"#{package}\""
+ @commands << "npm --global list | grep \"#{package}@\""
end
end

0 comments on commit 7843974

Please sign in to comment.
Something went wrong with that request. Please try again.