Skip to content

Commit a577bde

Browse files
committed
lib: fix off-by-one indentation
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]>
1 parent 4dd7d09 commit a577bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_http_server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function writeHead(statusCode, reason, obj) {
187187
statusCode |= 0;
188188
if (statusCode < 100 || statusCode > 999) {
189189
throw new errors.RangeError('ERR_HTTP_INVALID_STATUS_CODE',
190-
originalStatusCode);
190+
originalStatusCode);
191191
}
192192

193193

0 commit comments

Comments
 (0)