res.type=: remove no-op code (#980)
This commit is contained in:
parent
9248660efd
commit
13c7ca6139
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ module.exports = {
|
|||
*/
|
||||
|
||||
set type(type) {
|
||||
type = getType(type) || false;
|
||||
type = getType(type);
|
||||
if (type) {
|
||||
this.set('Content-Type', type);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue