diff options
Diffstat (limited to 'together/node_modules/semver/internal/debug.js')
-rw-r--r-- | together/node_modules/semver/internal/debug.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/together/node_modules/semver/internal/debug.js b/together/node_modules/semver/internal/debug.js new file mode 100644 index 0000000..1c00e13 --- /dev/null +++ b/together/node_modules/semver/internal/debug.js @@ -0,0 +1,9 @@ +const debug = ( + typeof process === 'object' && + process.env && + process.env.NODE_DEBUG && + /\bsemver\b/i.test(process.env.NODE_DEBUG) +) ? (...args) => console.error('SEMVER', ...args) + : () => {} + +module.exports = debug |