Repository URL to install this package:
|
Version:
0.6.0 ▾
|
gateway-proxy
/
usr
/
share
/
gateway-proxy
/
app
/
node_modules
/
@dabh
/
diagnostics
/
node
/
override.js
|
|---|
const diagnostics = require('./');
//
// Override the existing `debug` call so it will use `diagnostics` instead
// of the `debug` module.
//
try {
var key = require.resolve('debug');
require.cache[key] = {
exports: diagnostics,
filename: key,
loaded: true,
id: key
};
} catch (e) { /* We don't really care if it fails */ }
//
// Export the default import as exports again.
//
module.exports = diagnostics;