source:
frontend/node_modules/semver/internal/debug.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 240 bytes | |
| Line | |
|---|---|
| 1 | 'use strict' |
| 2 | |
| 3 | const debug = ( |
| 4 | typeof process === 'object' && |
| 5 | process.env && |
| 6 | process.env.NODE_DEBUG && |
| 7 | /\bsemver\b/i.test(process.env.NODE_DEBUG) |
| 8 | ) ? (...args) => console.error('SEMVER', ...args) |
| 9 | : () => {} |
| 10 | |
| 11 | module.exports = debug |
Note:
See TracBrowser
for help on using the repository browser.
