UNPKG

access-sniff

Version:

A node/iojs library & CLI for HTML_Codesniffer

22 lines (15 loc) 527 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = undefined; var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var errorMessage = function errorMessage(errors) { var message = 'There were ' + errors + ' errors present'; console.log(_chalk2.default.red(message)); return message; }; /*eslint-disable no-console */ exports.default = errorMessage;