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 <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
  • 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.