Skip to content

Commit e8fa0bf

Browse files
Restructure setupMethods.
1 parent b74eda4 commit e8fa0bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

wrapper.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,10 @@ function setupMethods (soljson) {
397397
importCallback: compileJSONCallback !== null || compileStandard !== null,
398398
nativeStandardJSON: compileStandard !== null
399399
},
400-
lspStart: lspStart,
401-
lspSendReceive: lspSendReceive,
400+
lsp: {
401+
start: lspStart,
402+
sendReceive: lspSendReceive
403+
},
402404
compile: compileStandardWrapper,
403405
// Loads the compiler of the given version from the github repository
404406
// instead of from the local filesystem.

0 commit comments

Comments
 (0)