Skip to content

Commit

Permalink
Do not throw a non-existent exception
Browse files Browse the repository at this point in the history
  • Loading branch information
laurilehmijoki committed May 9, 2014
1 parent aa93bf2 commit ceb96f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/s3_website/paths.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def self.infer_automatically(pwd)
if site_path
site_path
else
raise NoPredefinedWebsiteDirectoryFound
puts "Could not find a website directory. Specify one with the --site parameter."
exit
end
end
end
Expand Down

0 comments on commit ceb96f2

Please sign in to comment.