diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-06-01 02:07:25 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-06-03 01:56:19 +0300 |
commit | de411a471e12aac6efcff87bd93a5e5045a70e8f (patch) | |
tree | cf111a098f4299883f0730bae89c41a2673f25f0 /doc/api/child_process.md | |
parent | 7de6998d899125e9d43de7dae0bb0a0ed9a76d34 (diff) | |
download | android-node-v8-de411a471e12aac6efcff87bd93a5e5045a70e8f.tar.gz android-node-v8-de411a471e12aac6efcff87bd93a5e5045a70e8f.tar.bz2 android-node-v8-de411a471e12aac6efcff87bd93a5e5045a70e8f.zip |
doc: unify spaces in object literals
PR-URL: https://github.com/nodejs/node/pull/13354
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r-- | doc/api/child_process.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 3d73f0b859..2120e36f4b 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -224,7 +224,7 @@ const util = require('util'); const exec = util.promisify(require('child_process').exec); async function lsExample() { - const {stdout, stderr} = await exec('ls'); + const { stdout, stderr } = await exec('ls'); console.log('stdout:', stdout); console.log('stderr:', stderr); } @@ -287,7 +287,7 @@ a Promise for an object with `stdout` and `stderr` properties. const util = require('util'); const execFile = util.promisify(require('child_process').execFile); async function getVersion() { - const {stdout} = await execFile('node', ['--version']); + const { stdout } = await execFile('node', ['--version']); console.log(stdout); } getVersion(); |