UNPKG

danger

Version:
18 lines 656 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.debug = void 0; var debug_1 = __importDefault(require("debug")); var debug = function (value) { var d = (0, debug_1.default)("danger:".concat(value)); // In Peril, when running inside Hyper, we don't get access to stderr // so bind debug to use stdout if (process.env.x_hyper_content_sha256) { d.log = console.log.bind(console); } return d; }; exports.debug = debug; //# sourceMappingURL=debug.js.map