Skip to content

Commit 65768bc

Browse files
authored
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 5e87577 commit 65768bc

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
@@ -1165,7 +1165,7 @@ inline uint16_t ParseAndValidatePort(const std::string_view port,
11651165

11661166
if (r.ec == std::errc::result_out_of_range ||
11671167
(result != 0 && result < 1024)) {
1168-
errors->push_back(" must be 0 or in range 1024 to 65535.");
1168+
errors->push_back("must be 0 or in range 1024 to 65535.");
11691169
}
11701170

11711171
return result;

0 commit comments

Comments
 (0)