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 44c3cc2

Browse filesBrowse files
pajangidevanlucas
authored andcommitted
lib: change concatenated string to template
PR-URL: #16930 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
1 parent 651fee4 commit 44c3cc2
Copy full SHA for 44c3cc2

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

‎lib/dns.js‎

Copy file name to clipboardExpand all lines: lib/dns.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function errnoException(err, syscall, hostname) {
5151
}
5252
var ex = null;
5353
if (typeof err === 'string') { // c-ares error code.
54-
const errHost = hostname ? ' ' + hostname : '';
54+
const errHost = hostname ? ` ${hostname}` : '';
5555
ex = new Error(`${syscall} ${err}${errHost}`);
5656
ex.code = err;
5757
ex.errno = err;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.