Sign in
apache
/
airflow-JamesIves-github-pages-deploy-action
/
refs/tags/3.7.0
/
.
/
node_modules
/
@typescript-eslint
/
eslint-plugin
/
node_modules
/
semver
/
internal
/
debug.js
blob: 1c00e1369aa2a00122407dc3887a45a29be3210e [
file
] [
log
] [
blame
]
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