MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / formatMessage

Function formatMessage

out/cli.cjs:73875–73877  ·  view source on GitHub ↗
(opt, desc)

Source from the content-addressed store, hash-verified

73873var validators = {};
73874["object", "boolean", "number", "function", "string", "symbol"].forEach((type2, i3) => {
73875 validators[type2] = function validator(thing) {
73876 return typeof thing === type2 || "a" + (i3 < 1 ? "n " : " ") + type2;
73877 };
73878});
73879var deprecatedWarnings = {};
73880validators.transitional = function transitional(validator, version, message) {

Callers 1

cli.cjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected