Skip to content
Browse files

some style changes

  • Loading branch information...
1 parent 721df5a commit 43d75ca700a82698e780ad2d963887c550eb18c8 @tellnes committed Apr 26, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 lib/index.js
View
9 lib/index.js
@@ -332,8 +332,7 @@ CloudFront.prototype.createInvalidation = function(distribution, callerReference
var item = new Invalidation(self, {
distribution: distribution
- },
- body);
+ }, body);
cb(null, item);
});
req.write(this.generateInvalidationXml(callerReference, paths));
@@ -347,8 +346,7 @@ CloudFront.prototype.getInvalidation = function(distribution, id, cb) {
var item = new Invalidation(self, {
distribution: distribution
- },
- body);
+ }, body);
cb(null, item);
}).end();
};
@@ -365,8 +363,7 @@ CloudFront.prototype.listInvalidations = function(distribution, opts, cb) {
var info = listBodyToInfo(self, {
distribution: distribution
- },
- Invalidation, body);
+ }, Invalidation, body);
cb(null, info.list, info);
}).end();
};

0 comments on commit 43d75ca

Please sign in to comment.
Something went wrong with that request. Please try again.