diff options
author | Rich Trott <rtrott@gmail.com> | 2017-11-22 12:47:50 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-11-30 23:24:44 -0800 |
commit | 929f343bb3c2f7847711fed7ddb79ec5cf97f9b7 (patch) | |
tree | 03fef5f28fdcee79347fc968beb85c95e46cf08f /test/common/inspector-helper.js | |
parent | 7850112c339ad1eac437bb22d562ea00a98be04a (diff) | |
download | node-new-929f343bb3c2f7847711fed7ddb79ec5cf97f9b7.tar.gz |
doc,test: remove unnecessary await with return instances
Remove unnecessary `await` in combination with `return` in preparation
for enabling lint rule.
PR-URL: https://github.com/nodejs/node/pull/17265
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'test/common/inspector-helper.js')
-rw-r--r-- | test/common/inspector-helper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/inspector-helper.js b/test/common/inspector-helper.js index 81aa046bf3..454eef4c5e 100644 --- a/test/common/inspector-helper.js +++ b/test/common/inspector-helper.js @@ -390,7 +390,7 @@ class NodeInstance { console.log('[test]', 'Connecting to a child Node process'); const response = await this.httpGet(null, '/json/list'); const url = response[0]['webSocketDebuggerUrl']; - return await this.wsHandshake(url); + return this.wsHandshake(url); } expectShutdown() { |