remove.js 422 B

12345678910111213141516
  1. "use strict";
  2. const defaultGenerator = require("../generators/remove-generator");
  3. const modifyHelper = require("../utils/modify-config-helper");
  4. /**
  5. * Is called and returns a scaffolding instance, removing properties
  6. *
  7. * @returns {Function} modifyHelper - A helper function that uses the action
  8. * we're given on a generator
  9. *
  10. */
  11. module.exports = function() {
  12. return modifyHelper("remove", defaultGenerator);
  13. };