Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 93ac799

Browse filesBrowse files
avivkellermarco-ippolito
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 4baa5c4 commit 93ac799
Copy full SHA for 93ac799

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/node_options.cc‎

Copy file name to clipboardExpand all lines: src/node_options.cc
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.