Skip to content

Commit

Permalink
lib: convert to Arrow Function
Browse files Browse the repository at this point in the history
convert to Arrow Function and test by `./tools/test.py tick-processor`
PR-URL: #24615
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
  • Loading branch information
Daiki Arai authored and BethGriggs committed Feb 12, 2019
1 parent 43bfb13 commit e5abfe1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/internal/v8_prof_processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const scriptFiles = [
];
var script = '';

scriptFiles.forEach(function(s) {

scriptFiles.forEach((s) => {
script += process.binding('natives')[s] + '\n';
});

Expand Down

0 comments on commit e5abfe1

Please sign in to comment.