mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-09 19:44:56 +02:00
13 lines
479 B
JavaScript
13 lines
479 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 chalk_1 = __importDefault(require("chalk"));
|
|
function createBasicFormatter() {
|
|
return function basicFormatter(issue) {
|
|
return chalk_1.default.grey(issue.code + ': ') + issue.message;
|
|
};
|
|
}
|
|
exports.createBasicFormatter = createBasicFormatter;
|