diff options
| author | Ash Berlin | 2009-12-17 23:00:20 +0000 |
|---|---|---|
| committer | Max Howell | 2010-01-13 13:33:43 +0000 |
| commit | 5193d835a443d6901bb28cbe451aaa0c08e299e7 (patch) | |
| tree | 08eebd5374b7d1163906c316a059abdcfea7a7c1 | |
| parent | df3cca94e18ca206fd3bec9a83e451ca1dae8298 (diff) | |
| download | brew-5193d835a443d6901bb28cbe451aaa0c08e299e7.tar.bz2 | |
Improve error when no url given
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
