Skip to content

Commit

Permalink
cli: fix spacing for port range error
Browse files Browse the repository at this point in the history
PR-URL: #54495
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Aviv Keller authored and marco-ippolito committed Nov 17, 2024
1 parent 4baa5c4 commit 93ac799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ inline uint16_t ParseAndValidatePort(const std::string_view port,

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

return result;
Expand Down

0 comments on commit 93ac799

Please sign in to comment.