File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,20 @@ let openedFile = (fileUri: string, fileContent: string) => {
262
262
// handle in the isResponseMessage check in the message handling way
263
263
// below
264
264
} else {
265
- // we should send something to say that we can't find bsb.exe. But right now we'll silently not do anything
265
+ let binaryPath =
266
+ extensionConfiguration . binaryPath === null
267
+ ? path . join ( projectRootPath , "node_modules" , ".bin" )
268
+ : extensionConfiguration . binaryPath ;
269
+
270
+ let request : p . NotificationMessage = {
271
+ jsonrpc : c . jsonrpcVersion ,
272
+ method : "window/showMessage" ,
273
+ params : {
274
+ type : p . MessageType . Error ,
275
+ message : `Can't find ReScript binary on path ${ binaryPath } ` ,
276
+ } ,
277
+ } ;
278
+ send ( request ) ;
266
279
}
267
280
}
268
281
You can’t perform that action at this time.
0 commit comments