var copy = require('ncp').ncp;

require('land-registry-elements').then(function(assetPath) {

  var destPath = 'service/static/assets';

  copy(assetPath, destPath, function(err, files) {
    if(err) {
      reject(err);
      return;
    }

    console.log('Assets copied to', destPath);
  });
})
.catch(function(e) {
  console.error(e);
});


var copy = require('ncp').ncp;

require('land-registry-elements').then(function(assetPath) {

  var destPath = 'service/static/assets';

  copy(assetPath, destPath, function(err, files) {
    if(err) {
      throw err;
      return;
    }

    console.log('Assets copied to', destPath);
  });
})
.catch(function(e) {
  console.error(e);
});


Remove reference to reject() that no longer exists
Remove reference to reject() that no longer exists
