diff options
author | Rich Trott <rtrott@gmail.com> | 2017-07-15 07:00:36 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-07-18 08:09:46 +0300 |
commit | d14c13238b554be335bbf66a315f855e49fdd52e (patch) | |
tree | 626d0743b367b8cc287a207051c31d80400c5efd /lib/internal/freelist.js | |
parent | 9ab63d61f8f8d65b0e0643c83dd7936c4cf0a309 (diff) |
lib: update indentation of ternaries
In preparation for stricter indentation linting and to increase code
clarity, update indentation for ternaries in lib.
PR-URL: https://github.com/nodejs/node/pull/14247
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/internal/freelist.js')
-rw-r--r-- | lib/internal/freelist.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/internal/freelist.js b/lib/internal/freelist.js index 1096bb2b8e0..7e9cef9528a 100644 --- a/lib/internal/freelist.js +++ b/lib/internal/freelist.js @@ -9,8 +9,9 @@ class FreeList { } alloc() { - return this.list.length ? this.list.pop() : - this.ctor.apply(this, arguments); + return this.list.length ? + this.list.pop() : + this.ctor.apply(this, arguments); } free(obj) { |