"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;

"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;

Add support for Node.js 6
Add support for Node.js 6
