Skip to content

Commit 08e1ee8

Browse files
Robert Baileymarkmandel
authored andcommitted
Style fixes. (agones-dev#1129)
1 parent 4daea9e commit 08e1ee8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sdks/nodejs/src/agonesSDK.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ class AgonesSDK {
2525
}
2626

2727
get port() {
28-
const port = process.env.AGONES_SDK_GRPC_PORT;
29-
return port === undefined ? '59357' : port;
28+
return process.env.AGONES_SDK_GRPC_PORT || '59357';
3029
}
3130

3231
async connect() {

0 commit comments

Comments
 (0)