source: trip-planner-front/node_modules/semver/internal/debug.js@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 226 bytes
RevLine 
[6a3a178]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.