main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
315 bytes
|
Line | |
---|
1 | var debug;
|
---|
2 |
|
---|
3 | module.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.