From 0d22858d67f5f8f7959a55ceca23adafe12827d5 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 5 Jul 2017 09:21:40 -0700 Subject: lib: remove excess indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In anticipation of stricter linting for indentation, remove instances of extra indentation that will be flagged by the new rules. PR-URL: https://github.com/nodejs/node/pull/14090 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Tobias Nießen Reviewed-By: Luigi Pinca --- lib/inspector.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/inspector.js') diff --git a/lib/inspector.js b/lib/inspector.js index d73d8a2349..6a80c36d52 100644 --- a/lib/inspector.js +++ b/lib/inspector.js @@ -43,7 +43,7 @@ class Session extends EventEmitter { post(method, params, callback) { if (typeof method !== 'string') { throw new TypeError( - `"method" must be a string, got ${typeof method} instead`); + `"method" must be a string, got ${typeof method} instead`); } if (!callback && util.isFunction(params)) { callback = params; @@ -51,11 +51,11 @@ class Session extends EventEmitter { } if (params && typeof params !== 'object') { throw new TypeError( - `"params" must be an object, got ${typeof params} instead`); + `"params" must be an object, got ${typeof params} instead`); } if (callback && typeof callback !== 'function') { throw new TypeError( - `"callback" must be a function, got ${typeof callback} instead`); + `"callback" must be a function, got ${typeof callback} instead`); } if (!this[connectionSymbol]) { -- cgit v1.2.3