UNPKG

probot

Version:

A framework for building GitHub Apps to automate and improve your workflow

14 lines 386 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.rebindLog = rebindLog; function rebindLog(log) { for (const key in log) { // @ts-expect-error if (typeof log[key] !== "function") continue; // @ts-expect-error log[key] = log[key].bind(log); } return log; } //# sourceMappingURL=rebind-log.js.map