Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

some style changes

  • Loading branch information...
commit 43d75ca700a82698e780ad2d963887c550eb18c8 1 parent 721df5a
Christian Tellnes authored

Showing 1 changed file with 3 additions and 6 deletions. Show diff stats Hide diff stats

  1. +3 6 lib/index.js
9 lib/index.js
@@ -332,8 +332,7 @@ CloudFront.prototype.createInvalidation = function(distribution, callerReference
332 332
333 333 var item = new Invalidation(self, {
334 334 distribution: distribution
335   - },
336   - body);
  335 + }, body);
337 336 cb(null, item);
338 337 });
339 338 req.write(this.generateInvalidationXml(callerReference, paths));
@@ -347,8 +346,7 @@ CloudFront.prototype.getInvalidation = function(distribution, id, cb) {
347 346
348 347 var item = new Invalidation(self, {
349 348 distribution: distribution
350   - },
351   - body);
  349 + }, body);
352 350 cb(null, item);
353 351 }).end();
354 352 };
@@ -365,8 +363,7 @@ CloudFront.prototype.listInvalidations = function(distribution, opts, cb) {
365 363
366 364 var info = listBodyToInfo(self, {
367 365 distribution: distribution
368   - },
369   - Invalidation, body);
  366 + }, Invalidation, body);
370 367 cb(null, info.list, info);
371 368 }).end();
372 369 };

0 comments on commit 43d75ca

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