source: node_modules/semver/internal/debug.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 226 bytes
Line 
1const 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
9module.exports = debug
Note: See TracBrowser for help on using the repository browser.