Skip to content

Commit 93ac799

Browse files
avivkellermarco-ippolito
authored andcommittedNov 17, 2024
cli: fix spacing for port range error
PR-URL: #54495 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 4baa5c4 commit 93ac799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/node_options.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ inline uint16_t ParseAndValidatePort(const std::string_view port,
11241124

11251125
if (r.ec == std::errc::result_out_of_range ||
11261126
(result != 0 && result < 1024)) {
1127-
errors->push_back(" must be 0 or in range 1024 to 65535.");
1127+
errors->push_back("must be 0 or in range 1024 to 65535.");
11281128
}
11291129

11301130
return result;

0 commit comments

Comments
 (0)
Please sign in to comment.