debug.js 244 B

123456789
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function debug(...args) {
  4. if (['1', 'true'].includes(process.env.HUSKY_DEBUG || '')) {
  5. console.log('husky:debug', ...args);
  6. }
  7. }
  8. exports.debug = debug;