lib/datapimp/sync/cloudfront_distribution.rb in datapimp-1.0.28 vs lib/datapimp/sync/cloudfront_distribution.rb in datapimp-1.0.29
- old
+ new
@@ -14,10 +14,10 @@
dist.comment == bucket
end
end
def method_missing(meth, *args, &block)
- cloudfront.send(meth, *args, &block)
+ cloudfront && cloudfront.send(meth, *args, &block)
end
end
end
end