source:
trip-planner-front/node_modules/semver/internal/debug.js@
eed0bf8
Last change on this file since eed0bf8 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 226 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | const debug = ( |
2 | typeof process === 'object' && | |
3 | process.env && | |
4 | process.env.NODE_DEBUG && | |
5 | /\bsemver\b/i.test(process.env.NODE_DEBUG) | |
6 | ) ? (...args) => console.error('SEMVER', ...args) | |
7 | : () => {} | |
8 | ||
9 | module.exports = debug |
Note:
See TracBrowser
for help on using the repository browser.