UNPKG

@shaberman-forks/husky

Version:

Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)

9 lines (8 loc) 244 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function debug(...args) { if (['1', 'true'].includes(process.env.HUSKY_DEBUG || '')) { console.log('husky:debug', ...args); } } exports.debug = debug;