/* jshint node: true */
'use strict';

var BasePlugin = require('ember-cli-deploy-plugin');

module.exports = {
  name: 'ember-cli-deploy-cloudfront',

  createDeployPlugin: function(options) {
    var DeployPlugin = BasePlugin.extend({
      name: options.name,
      defaultConfig: {
        objectPaths: '/index.html'
      }
      requiredConfig: ['accessKeyId', 'secretAccessKey', 'distributionId'],

      didActivate: function(context) {

        var distributionId = this.readConfig('distributionId');

        this.log('preparing to create invalidation for distribution' + distributionId);
      }
    });

    return new DeployPlugin();
  }
};

/* jshint node: true */
'use strict';

var BasePlugin = require('ember-cli-deploy-plugin');

module.exports = {
  name: 'ember-cli-deploy-cloudfront',

  createDeployPlugin: function(options) {
    var DeployPlugin = BasePlugin.extend({
      name: options.name,
      defaultConfig: {
        objectPaths: '/index.html'
      }
      requiredConfig: ['accessKeyId', 'secretAccessKey', 'distributionId'],

      didActivate: function(context) {

        var distributionId = this.readConfig('distributionId');

        this.log('preparing to create invalidation for distribution `' + distributionId + '``');
      }
    });

    return new DeployPlugin();
  }
};

Add backticks to preparing log message
Add backticks to preparing log message
