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) =>
73
73
let findRescriptBinary = ( projectRootPath : p . DocumentUri ) =>
74
74
extensionConfiguration . binaryPath === null
75
75
? utils . findRescriptBinaryFromProjectRoot ( projectRootPath )
76
- : utils . findBuildBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
76
+ : utils . findRescriptBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
77
77
78
78
let findBscBinary = ( filePath : p . DocumentUri ) =>
79
79
extensionConfiguration . binaryPath === null
Original file line number Diff line number Diff line change @@ -74,13 +74,14 @@ let findBuildBinaryBase = (rescriptPath: string): string | null => {
74
74
return null ;
75
75
} ;
76
76
77
- export let findBuildBinaryFromConfig = (
77
+ export let findRescriptBinaryFromConfig = (
78
78
pathToBinaryDirFromConfig : p . DocumentUri
79
79
) =>
80
80
findBuildBinaryBase ( path . join ( pathToBinaryDirFromConfig , c . rescriptBinName ) ) ;
81
81
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 ) ) ;
84
85
85
86
type execResult =
86
87
| {
You can’t perform that action at this time.
0 commit comments