diff --git a/lib/s3_website/paths.rb b/lib/s3_website/paths.rb index 89195ed7..5591fa9b 100644 --- a/lib/s3_website/paths.rb +++ b/lib/s3_website/paths.rb @@ -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