UNPKG
husky-v4
Version:
latest (4.3.8)
4.3.8
The original Husky, but immutable at v4.3.8
github.com/typicode/husky
typicode/husky
husky-v4
/
lib
/
debug.js
10 lines
(9 loc)
•
268 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
debug
=
void
0
;
function
debug
(
...args
) {
if
([
'1'
,
'true'
].
includes
(process.
env
.
HUSKY_DEBUG
||
''
)) {
console
.
log
(
'husky:debug'
, ...args); } }
exports
.
debug
= debug;