source: trip-planner-front/node_modules/follow-redirects/debug.js@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 315 bytes
Line 
1var debug;
2
3module.exports = function () {
4 if (!debug) {
5 try {
6 /* eslint global-require: off */
7 debug = require("debug")("follow-redirects");
8 }
9 catch (error) { /* */ }
10 if (typeof debug !== "function") {
11 debug = function () { /* */ };
12 }
13 }
14 debug.apply(null, arguments);
15};
Note: See TracBrowser for help on using the repository browser.