var s3 = require('s3');

module.exports = function(s3opts,awsS3,cb) {
  var client = s3.createClient({
    s3Options: {
      region: s3opts.aws.region
    }
  });

  console.log(s3opts.aws.bucket);
  console.log(s3opts.prefix);
  console.log(cb);
  var deleteDir = client.deleteDir({
    Bucket: s3opts.aws.bucket,
    Prefix: s3opts.prefix
  });
  deleteDir.on('error',cb);
  deleteDir.on('end',cb);

};

@@ -162,91 +162,8 @@
 );%0A%0A
-  console.log(s3opts.aws.bucket);%0A  console.log(s3opts.prefix);%0A  console.log(cb);%0A
   va

remove console.log