@@ -65,10 +65,10 @@ let codeActionsFromDiagnostics: codeActions.filesCodeActions = {};
6565// will be properly defined later depending on the mode (stdio/node-rpc)
6666let send : ( msg : p . Message ) => void = ( _ ) => { } ;
6767
68- let findBinary = ( projectRootPath : p . DocumentUri ) =>
68+ let findBuildBinary = ( projectRootPath : p . DocumentUri ) =>
6969 extensionConfiguration . binaryPath === null
70- ? utils . findNodeBuildOfProjectRoot ( projectRootPath )
71- : utils . findBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
70+ ? utils . findBuildBinaryFromProjectRoot ( projectRootPath )
71+ : utils . findBuildBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
7272
7373interface CreateInterfaceRequestParams {
7474 uri : string ;
@@ -240,7 +240,7 @@ let openedFile = (fileUri: string, fileContent: string) => {
240240 // TODO: sometime stale .bsb.lock dangling. bsb -w knows .bsb.lock is
241241 // stale. Use that logic
242242 // TODO: close watcher when lang-server shuts down
243- if ( findBinary ( projectRootPath ) != null ) {
243+ if ( findBuildBinary ( projectRootPath ) != null ) {
244244 let payload : clientSentBuildAction = {
245245 title : c . startBuildAction ,
246246 projectRootPath : projectRootPath ,
@@ -1077,7 +1077,7 @@ function onMessage(msg: p.Message) {
10771077 // TODO: close watcher when lang-server shuts down. However, by Node's
10781078 // default, these subprocesses are automatically killed when this
10791079 // language-server process exits
1080- let found = findBinary ( projectRootPath ) ;
1080+ let found = findBuildBinary ( projectRootPath ) ;
10811081 if ( found != null ) {
10821082 let bsbProcess = utils . runBuildWatcherUsingValidBuildPath (
10831083 found . buildPath ,
0 commit comments