Skip to content

Commit

Permalink
lib: replace String concatenation with template
Browse files Browse the repository at this point in the history
PR-URL: #16922
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
  • Loading branch information
saiHemak authored and evanlucas committed Nov 13, 2017
1 parent 1510fda commit 8eb32e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/v8_prof_polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var line = '';

function peekline() {
const s = readline();
line = s + '\n' + line;
line = `${s}\n${line}`;
return s;
}

Expand Down

0 comments on commit 8eb32e1

Please sign in to comment.