chore: fix comment & approve cov (#1214)
This commit is contained in:
parent
cde0bb10e9
commit
74170caf0b
1 changed files with 4 additions and 1 deletions
|
@ -280,6 +280,7 @@ module.exports = {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
get URL() {
|
get URL() {
|
||||||
|
/* istanbul ignore else */
|
||||||
if (!this.memoizedURL) {
|
if (!this.memoizedURL) {
|
||||||
const protocol = this.protocol;
|
const protocol = this.protocol;
|
||||||
const host = this.host;
|
const host = this.host;
|
||||||
|
@ -642,7 +643,7 @@ module.exports = {
|
||||||
* // => "text/plain"
|
* // => "text/plain"
|
||||||
*
|
*
|
||||||
* this.get('Something');
|
* this.get('Something');
|
||||||
* // => undefined
|
* // => ''
|
||||||
*
|
*
|
||||||
* @param {String} field
|
* @param {String} field
|
||||||
* @return {String}
|
* @return {String}
|
||||||
|
@ -694,6 +695,8 @@ module.exports = {
|
||||||
* @return {Object}
|
* @return {Object}
|
||||||
* @api public
|
* @api public
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* istanbul ignore else */
|
||||||
if (util.inspect.custom) {
|
if (util.inspect.custom) {
|
||||||
module.exports[util.inspect.custom] = module.exports.inspect;
|
module.exports[util.inspect.custom] = module.exports.inspect;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue