File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ let findBscBinary = (filePath: p.DocumentUri) =>
75
75
? utils . findBscBinaryFromProjectRoot ( filePath )
76
76
: utils . findBscBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
77
77
78
- let getConjecturalDirOfBuildBinary = ( projectRootPath : p . DocumentUri ) =>
78
+ let getBinaryPath = ( projectRootPath : p . DocumentUri ) =>
79
79
extensionConfiguration . binaryPath === null
80
80
? path . join ( projectRootPath , c . nodeModulesBinDir )
81
81
: extensionConfiguration . binaryPath ;
@@ -277,7 +277,7 @@ let openedFile = (fileUri: string, fileContent: string) => {
277
277
method : "window/showMessage" ,
278
278
params : {
279
279
type : p . MessageType . Error ,
280
- message : `Can't find ReScript binary in the directory ${ getConjecturalDirOfBuildBinary (
280
+ message : `Can't find ReScript binary in the directory ${ getBinaryPath (
281
281
projectRootPath
282
282
) } `,
283
283
} ,
You can’t perform that action at this time.
0 commit comments