<commit_before>
var sqs = require('./lib/sqs'),
    assert = require('assert');

function queue(options) {
  'use strict';

  assert(options, 'missing options');
  assert(options.queueUrl, 'missing queueUrl');

  var seneca = this;  // jshint ignore:line
  var queueUrl = options.queueUrl;

  options = seneca.util.deepextend({
    role: 'queue',
    queueUrl: queueUrl,
    sendParams: {
      QueueUrl: queueUrl
    },
    recvParams: {
      QueueUrl: queueUrl
    }
  }, options);

  // You can change the _role_ value for the plugin patterns.
  // Use this when you want to load multiple versions of the plugin
  // and expose them via different patterns.
  var role = options.role;

  sqs(role, seneca, options);

  seneca.add({init:role},function(args,done){<commit_msg>Do not pass queueUrl to deepextend.<commit_after>
var sqs = require('./lib/sqs'),
    assert = require('assert');

function queue(options) {
  'use strict';

  assert(options, 'missing options');
  assert(options.queueUrl, 'missing queueUrl');

  var seneca = this;  // jshint ignore:line
  var queueUrl = options.queueUrl;

  options = seneca.util.deepextend({
    role: 'queue',
    sendParams: {
      QueueUrl: queueUrl
    },
    recvParams: {
      QueueUrl: queueUrl
    }
  }, options);

  // You can change the _role_ value for the plugin patterns.
  // Use this when you want to load multiple versions of the plugin
  // and expose them via different patterns.
  var role = options.role;

  sqs(role, seneca, options);

  seneca.add({init:role},function(args,done){
{'fraction_non_alphanumeric': 0.12177835051546392, 'fraction_numerical': 0.0, 'mean_word_length': 3.301939058171745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5636104', 'n_tokens_mistral': 499, 'n_tokens_neox': 478, 'n_words': 146}