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

31 lines
528 B
JavaScript
Raw Permalink 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
2020-03-31 20:40:00 +08:00
* @param {...any} args The elements to log.
2020-03-07 11:45:40 +08:00
* @returns {void}
*/
info(...args) {
console.log(...args);
},
/**
* Cover for console.error
2020-03-31 20:40:00 +08:00
* @param {...any} args The elements to log.
2020-03-07 11:45:40 +08:00
* @returns {void}
*/
error(...args) {
console.error(...args);
}
};