From 50f45fffc1951c90bc87a0e22ca5a9990b653a8d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 21 Jul 2017 11:34:35 -0700 Subject: [PATCH] lib: modify destructuring for indentation ESLint 4.3.0 flags an extra indentation issue that affects two of our destructuring assignments in `lib`. This is a whitespace-only update to comply prior to updating. PR-URL: https://github.com/nodejs/node/pull/14417 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Teddy Katz Reviewed-By: Roman Reiss Reviewed-By: Refael Ackermann --- lib/async_hooks.js | 3 ++- lib/child_process.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/async_hooks.js b/lib/async_hooks.js index 39fd319fe54fe0..51039e9f36d24d 100644 --- a/lib/async_hooks.js +++ b/lib/async_hooks.js @@ -40,7 +40,8 @@ var tmp_async_hook_fields = null; // async execution. These are tracked so if the user didn't include callbacks // for a given step, that step can bail out early. const { kInit, kBefore, kAfter, kDestroy, kTotals, kCurrentAsyncId, - kCurrentTriggerId, kAsyncUidCntr, kInitTriggerId } = async_wrap.constants; + kCurrentTriggerId, kAsyncUidCntr, + kInitTriggerId } = async_wrap.constants; const { async_id_symbol, trigger_id_symbol } = async_wrap; diff --git a/lib/child_process.js b/lib/child_process.js index 77f02a0ed23923..a431e00b2f1d55 100644 --- a/lib/child_process.js +++ b/lib/child_process.js @@ -24,7 +24,7 @@ const util = require('util'); const { deprecate, convertToValidSignal } = require('internal/util'); const { createPromise, - promiseResolve, promiseReject } = process.binding('util'); + promiseResolve, promiseReject } = process.binding('util'); const debug = util.debuglog('child_process'); const uv = process.binding('uv');