UNPKG

backport

Version:

A CLI tool that automates the process of backporting commits

14 lines 703 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.registerHandlebarsHelpers = void 0; const handlebars_1 = __importDefault(require("handlebars")); const commitFormatters_1 = require("./github/commitFormatters"); function registerHandlebarsHelpers() { handlebars_1.default.registerHelper('shortSha', commitFormatters_1.getShortSha); handlebars_1.default.registerHelper('raw', (options) => options.fn()); } exports.registerHandlebarsHelpers = registerHandlebarsHelpers; //# sourceMappingURL=registerHandlebarsHelpers.js.map