Skip to content

Commit 65bccd5

Browse files
whatwewantaddaleax
authored andcommitted
test: use template literal for string concat
In test/parallel/test-repl-persistent-history.js, replace string concatenation with a template literal. PR-URL: #14288 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 802783d commit 65bccd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-repl-persistent-history.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const replDisabled = '\nPersistent history support disabled. Set the ' +
5858
'user-writable path to enable.\n';
5959
const convertMsg = '\nConverting old JSON repl history to line-separated ' +
6060
'history.\nThe new repl history file can be found at ' +
61-
path.join(common.tmpDir, '.node_repl_history') + '.\n';
61+
`${path.join(common.tmpDir, '.node_repl_history')}.\n`;
6262
const homedirErr = '\nError: Could not get the home directory.\n' +
6363
'REPL session history will not be persisted.\n';
6464
const replFailedRead = '\nError: Could not open history file.\n' +

0 commit comments

Comments
 (0)