Skip to content

Commit

Permalink
lib: fix off-by-one indentation
Browse files Browse the repository at this point in the history
In preparation for more robust indentation linting, fix an off-by-one
indentation in lib/http_server.js.

PR-URL: #14064
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott committed Jul 4, 2017
1 parent 4dd7d09 commit a577bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_http_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function writeHead(statusCode, reason, obj) {
statusCode |= 0;
if (statusCode < 100 || statusCode > 999) {
throw new errors.RangeError('ERR_HTTP_INVALID_STATUS_CODE',
originalStatusCode);
originalStatusCode);
}


Expand Down

0 comments on commit a577bde

Please sign in to comment.