summaryrefslogtreecommitdiff
path: root/benchmark/child_process
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-07-08 17:17:47 -0700
committerRich Trott <rtrott@gmail.com>2016-07-12 10:33:29 -0700
commit5b63d48e9ea93e5fe1265e9e0d43574b6b0d807a (patch)
tree42b8230d1e0462232b878eb7bc77af63f91c1974 /benchmark/child_process
parent55250b83aae7baa0eed4927d84505f4e084dd352 (diff)
downloadandroid-node-v8-5b63d48e9ea93e5fe1265e9e0d43574b6b0d807a.tar.gz
android-node-v8-5b63d48e9ea93e5fe1265e9e0d43574b6b0d807a.tar.bz2
android-node-v8-5b63d48e9ea93e5fe1265e9e0d43574b6b0d807a.zip
lib,benchmark,test: implement consistent braces
This change is in preparation for lint-enforced brace style. PR-URL: https://github.com/nodejs/node/pull/7630 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'benchmark/child_process')
-rw-r--r--benchmark/child_process/child-process-read-ipc.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/benchmark/child_process/child-process-read-ipc.js b/benchmark/child_process/child-process-read-ipc.js
index 82e833980f..28f2b6f927 100644
--- a/benchmark/child_process/child-process-read-ipc.js
+++ b/benchmark/child_process/child-process-read-ipc.js
@@ -1,6 +1,5 @@
'use strict';
-if (process.argv[2] === 'child')
-{
+if (process.argv[2] === 'child') {
const len = +process.argv[3];
const msg = `"${'.'.repeat(len)}"`;
while (true) {