Skip to content

Commit

Permalink
Removed redundant not used variable initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Kliment Mamykin committed Apr 17, 2011
1 parent a283a24 commit 145352d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/jammit/s3_uploader.rb
Expand Up @@ -17,16 +17,6 @@ def initialize(options = {})
@bucket_location = options[:bucket_location] || Jammit.configuration[:s3_bucket_location]
@cache_control = options[:cache_control] || Jammit.configuration[:s3_cache_control]
@acl = options[:acl] || Jammit.configuration[:s3_permission]
@use_cloud_front = options[:use_cloudfront] || Jammit.configuration[:use_cloudfront]
if @use_cloud_front
@changed_files = []
@cloudfront_id = options[:cloudfront_id] || Jammit.configuration[:cloudfront_id]
end

log "Using following config:"
log " - bucket: #{@bucket_name}"
log " - access_key: #{@access_key_id}"
log " - cloudfront_id: #{@cloudfront_id}"

@bucket = find_or_create_bucket
if Jammit.configuration[:use_cloudfront]
Expand Down

0 comments on commit 145352d

Please sign in to comment.