Skip to content

Commit a97841e

Browse files
Aviv Kellertargos
Aviv Keller
authored andcommitted
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 39a728c commit a97841e

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

11841184
if (r.ec == std::errc::result_out_of_range ||
11851185
(result != 0 && result < 1024)) {
1186-
errors->push_back(" must be 0 or in range 1024 to 65535.");
1186+
errors->push_back("must be 0 or in range 1024 to 65535.");
11871187
}
11881188

11891189
return result;

0 commit comments

Comments
 (0)