diff options
| author | Ash Berlin | 2009-12-17 23:00:20 +0000 |
|---|---|---|
| committer | Max Howell | 2010-01-13 13:33:43 +0000 |
| commit | d59e8f6658814d2f9dcf9f7c3d742a63c8f86505 (patch) | |
| tree | a58baa07d7d737671783a1412bbc395f610202ce | |
| parent | 9197231321aaa5534fd2eea96f341b7a511807be (diff) | |
| download | homebrew-d59e8f6658814d2f9dcf9f7c3d742a63c8f86505.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 |
