access-sniff
Version:
A node/iojs library & CLI for HTML_Codesniffer
21 lines (14 loc) • 464 B
JavaScript
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 generalError = function generalError(error) {
console.error(_chalk2.default.red(error));
return error;
};
/*eslint-disable no-console */
exports.default = generalError;
;