Skip to content

Commit 116a8a8

Browse files
author
ionut.stan
committed
Merge branch 'master' of github.com:bigstepinc/jsonrpc-bidirectional
2 parents c5b2e0c + 87a7432 commit 116a8a8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Plugins/Client/ProcessStdIOTransport.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class ProcessStdIOTransport extends JSONRPC.ClientPluginBase
3636

3737
outgoingRequest.isMethodCalled = true;
3838

39-
// Without new lines or indent.
40-
outgoingRequest.requestBody = JSON.stringify(outgoingRequest.requestObject);
4139

4240
const objExecOptions = {
4341
cwd: this._strWorkingDirectoryPath,
@@ -49,7 +47,7 @@ class ProcessStdIOTransport extends JSONRPC.ClientPluginBase
4947

5048
const child = ChildProcess.spawn(strExePath, [strArguments], objExecOptions);
5149

52-
await new Promise((fnResolve, fnReject) => {
50+
return new Promise((fnResolve, fnReject) => {
5351
child.on(
5452
"close",
5553
(code) => {

0 commit comments

Comments
 (0)