summaryrefslogtreecommitdiff
path: root/lib/inspector.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inspector.js')
-rw-r--r--lib/inspector.js6
1 files changed, 3 insertions, 3 deletions
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]) {