chore: fix comment & approve cov (#1214)

This commit is contained in:
小菜 2018-07-04 11:33:01 +08:00 committed by Yiyu He
parent cde0bb10e9
commit 74170caf0b

View file

@ -280,6 +280,7 @@ module.exports = {
*/
get URL() {
/* istanbul ignore else */
if (!this.memoizedURL) {
const protocol = this.protocol;
const host = this.host;
@ -642,7 +643,7 @@ module.exports = {
* // => "text/plain"
*
* this.get('Something');
* // => undefined
* // => ''
*
* @param {String} field
* @return {String}
@ -694,6 +695,8 @@ module.exports = {
* @return {Object}
* @api public
*/
/* istanbul ignore else */
if (util.inspect.custom) {
module.exports[util.inspect.custom] = module.exports.inspect;
}