|
Last change
on this file since cdcff72 was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
240 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 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.