From 5193d835a443d6901bb28cbe451aaa0c08e299e7 Mon Sep 17 00:00:00 2001 From: Ash Berlin Date: Thu, 17 Dec 2009 23:00:20 +0000 Subject: Improve error when no url given --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 35585b899..e2a1ac2a2 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -99,7 +99,7 @@ class Formula @version='HEAD' end - raise if @url.nil? + raise "No url provided for formula #{name}" if @url.nil? @name=name validate_variable :name -- cgit v1.2.3