From 0a1d46423f5079b8aaa8816f3297285759ba8aa6 Mon Sep 17 00:00:00 2001 From: Jizu Sun Date: Sun, 3 Nov 2019 20:57:05 +0800 Subject: [PATCH] buffer: fix lint error --- lib/buffer.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/buffer.js b/lib/buffer.js index 2ef6ef47fc9451..e27c993feb4307 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -21,8 +21,19 @@ 'use strict'; -const { Object: { defineProperties, defineProperty, setPrototypeOf, create } } = primordials; -const { Math: { floor, trunc, min } } = primordials; +const { + Object: { + defineProperties, + defineProperty, + setPrototypeOf, + create + }, + Math: { + floor, + trunc, + min + } +} = primordials; const { byteLengthUtf8,