
## [1.3.3](https://github.com/ZynerOrg/xyter/compare/v1.3.2...v1.3.3) (2022-12-13) ### Bug Fixes * add custom semrel git ([c07befe
](c07befe678
))
11 lines
560 B
JavaScript
11 lines
560 B
JavaScript
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const logger_1 = __importDefault(require("../../middlewares/logger"));
|
|
exports.default = (count, noun, suffix) => {
|
|
const result = `${count} ${noun}${count !== 1 ? suffix || "s" : ""}`;
|
|
logger_1.default === null || logger_1.default === void 0 ? void 0 : logger_1.default.silly(`Pluralized ${count} to ${result}`);
|
|
return result;
|
|
};
|