mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboViteDocs.git
synced 2026-06-16 03:56:26 +00:00
Initalize
This commit is contained in:
16
node_modules/es-semver/src/debug.js
generated
vendored
Normal file
16
node_modules/es-semver/src/debug.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
export let debug
|
||||
|
||||
if (
|
||||
typeof process === 'object' &&
|
||||
process.env &&
|
||||
process.env.NODE_DEBUG &&
|
||||
/\bsemver\b/i.test(process.env.NODE_DEBUG)
|
||||
) {
|
||||
debug = function () {
|
||||
var args = Array.prototype.slice.call(arguments, 0)
|
||||
args.unshift('SEMVER')
|
||||
console.log.apply(console, args)
|
||||
}
|
||||
} else {
|
||||
debug = function () {}
|
||||
}
|
||||
Reference in New Issue
Block a user