debug.js 268 B

1234567891011121314
  1. var debug;
  2. module.exports = function () {
  3. if (!debug) {
  4. try {
  5. /* eslint global-require: off */
  6. debug = require("debug")("follow-redirects");
  7. }
  8. catch (error) {
  9. debug = function () { /* */ };
  10. }
  11. }
  12. debug.apply(null, arguments);
  13. };