<commit_before>"use strict";

function removeContainer(container, onResultCallback) {
  let options = {
    "v": true,
    "force": true
  };

  container.remove(options, onResultCallback || () => { });
}

function removeContainers(containers) {
  containers.forEach(container => {
    removeContainer(container);
  });
}

exports.removeContainer =
  removeContainer;
exports.removeContainers =
  removeContainers;<commit_msg>Add support for Node.js 6<commit_after>"use strict";

function removeContainer(container, onResultCallback) {
  let options = {
    "v": true,
    "force": true
  };

  let dummy =
    () => { };

  container.remove(options, onResultCallback || dummy);
}

function removeContainers(containers) {
  containers.forEach(container => {
    removeContainer(container);
  });
}

exports.removeContainer =
  removeContainer;
exports.removeContainers =
  removeContainers;
{'fraction_non_alphanumeric': 0.12921348314606743, 'fraction_numerical': 0.0011235955056179776, 'mean_word_length': 4.60377358490566, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 7, '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': '6109050', 'n_tokens_mistral': 262, 'n_tokens_neox': 258, 'n_words': 48}