File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ let getBinaryPath = (projectRootPath: p.DocumentUri) =>
7373let findRescriptBinary = ( projectRootPath : p . DocumentUri ) =>
7474 extensionConfiguration . binaryPath === null
7575 ? utils . findRescriptBinaryFromProjectRoot ( projectRootPath )
76- : utils . findBuildBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
76+ : utils . findRescriptBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
7777
7878let findBscBinary = ( filePath : p . DocumentUri ) =>
7979 extensionConfiguration . binaryPath === null
Original file line number Diff line number Diff line change @@ -74,13 +74,14 @@ let findBuildBinaryBase = (rescriptPath: string): string | null => {
7474 return null ;
7575} ;
7676
77- export let findBuildBinaryFromConfig = (
77+ export let findRescriptBinaryFromConfig = (
7878 pathToBinaryDirFromConfig : p . DocumentUri
7979) =>
8080 findBuildBinaryBase ( path . join ( pathToBinaryDirFromConfig , c . rescriptBinName ) ) ;
8181
82- export let findRescriptBinaryFromProjectRoot = ( projectRootPath : p . DocumentUri ) =>
83- findBuildBinaryBase ( path . join ( projectRootPath , c . rescriptNodePartialPath ) ) ;
82+ export let findRescriptBinaryFromProjectRoot = (
83+ projectRootPath : p . DocumentUri
84+ ) => findBuildBinaryBase ( path . join ( projectRootPath , c . rescriptNodePartialPath ) ) ;
8485
8586type execResult =
8687 | {
You can’t perform that action at this time.
0 commit comments