Skip to content

Commit bc92e13

Browse files
committed
Fixed an issue where getting settings on node would throw an exception.
1 parent 0e17085 commit bc92e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/submission/NodeSubmissionClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class NodeSubmissionClient extends DefaultSubmissionClient {
5858
callback(500, e.message);
5959
});
6060

61-
request.write(data);
61+
!!data && request.write(data);
6262
request.end();
6363
}
6464
}

0 commit comments

Comments
 (0)