Browse files

unless -> if

Signed-off-by: Iain Hecker <iain@iain.nl>
  • Loading branch information...
1 parent 07648d9 commit fe64023bea8916b7b39b357cb14680e63a668431 Arie committed with Apr 1, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/rake_svn_tasks.rake
View
2 tasks/rake_svn_tasks.rake
@@ -57,7 +57,7 @@ namespace :svn do
desc "Adds an ignore. Use DIR='log' and IGNORE='foo;log' (semicolon separated)"
task :ignore do
raise "You must specify an existing directory, e.g. DIR='log'" unless File.directory?(ENV['DIR'])
- raise "You must specify which file(-pattern) to ignore, e.g. IGNORE='*.log'" unless ENV['IGNORE'].blank?
+ raise "You must specify which file(-pattern) to ignore, e.g. IGNORE='*.log'" if ENV['IGNORE'].blank?
svn_ignore ENV['DIR'], *ENV['IGNORE'].split(";")
end

0 comments on commit fe64023

Please sign in to comment.