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) =>
7575 ? utils . findBscBinaryFromProjectRoot ( filePath )
7676 : utils . findBscBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
7777
78- let getConjecturalDirOfBuildBinary = ( projectRootPath : p . DocumentUri ) =>
78+ let getBinaryPath = ( projectRootPath : p . DocumentUri ) =>
7979 extensionConfiguration . binaryPath === null
8080 ? path . join ( projectRootPath , c . nodeModulesBinDir )
8181 : extensionConfiguration . binaryPath ;
@@ -277,7 +277,7 @@ let openedFile = (fileUri: string, fileContent: string) => {
277277 method : "window/showMessage" ,
278278 params : {
279279 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 (
281281 projectRootPath
282282 ) } `,
283283 } ,
You can’t perform that action at this time.
0 commit comments