Skip to content

Commit 1324d01

Browse files
att
1 parent 07ea9c7 commit 1324d01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/server.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ Server.newSession = function(public,private, props)
2020
if not props then
2121
error("props is required")
2222
end
23-
if not props.binary_location then
24-
error("binary_location is required")
25-
end
2623

2724
local created = Session.newSession(private, props)
2825
created.server = public

src/session/constructor.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ Session.newSession = function (private_server_props,props)
3030
end
3131

3232
local use_automation_extension = props.use_automation_extension or false
33+
if not props.binary_location then
34+
error("binary location its required")
35+
end
3336
body = {
3437
capabilities = {
3538
alwaysMatch = {

0 commit comments

Comments
 (0)