github-pages-deploy-action/node_modules/eslint/lib/util/logging.js

29 lines
430 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
/**
* @fileoverview Handle logging for ESLint
* @author Gyandeep Singh
*/
"use strict";
/* eslint no-console: "off" */
/* istanbul ignore next */
module.exports = {
/**
* Cover for console.log
* @returns {void}
*/
info(...args) {
console.log(...args);
},
/**
* Cover for console.error
* @returns {void}
*/
error(...args) {
console.error(...args);
}
};