source:
trip-planner-front/node_modules/semver/internal/debug.js@
571e0df
Last change on this file since 571e0df 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.