@@ -65,10 +65,10 @@ let codeActionsFromDiagnostics: codeActions.filesCodeActions = {};
65
65
// will be properly defined later depending on the mode (stdio/node-rpc)
66
66
let send : ( msg : p . Message ) => void = ( _ ) => { } ;
67
67
68
- let findBinary = ( projectRootPath : p . DocumentUri ) =>
68
+ let findBuildBinary = ( projectRootPath : p . DocumentUri ) =>
69
69
extensionConfiguration . binaryPath === null
70
- ? utils . findNodeBuildOfProjectRoot ( projectRootPath )
71
- : utils . findBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
70
+ ? utils . findBuildBinaryFromProjectRoot ( projectRootPath )
71
+ : utils . findBuildBinaryFromConfig ( extensionConfiguration . binaryPath ) ;
72
72
73
73
interface CreateInterfaceRequestParams {
74
74
uri : string ;
@@ -240,7 +240,7 @@ let openedFile = (fileUri: string, fileContent: string) => {
240
240
// TODO: sometime stale .bsb.lock dangling. bsb -w knows .bsb.lock is
241
241
// stale. Use that logic
242
242
// TODO: close watcher when lang-server shuts down
243
- if ( findBinary ( projectRootPath ) != null ) {
243
+ if ( findBuildBinary ( projectRootPath ) != null ) {
244
244
let payload : clientSentBuildAction = {
245
245
title : c . startBuildAction ,
246
246
projectRootPath : projectRootPath ,
@@ -1077,7 +1077,7 @@ function onMessage(msg: p.Message) {
1077
1077
// TODO: close watcher when lang-server shuts down. However, by Node's
1078
1078
// default, these subprocesses are automatically killed when this
1079
1079
// language-server process exits
1080
- let found = findBinary ( projectRootPath ) ;
1080
+ let found = findBuildBinary ( projectRootPath ) ;
1081
1081
if ( found != null ) {
1082
1082
let bsbProcess = utils . runBuildWatcherUsingValidBuildPath (
1083
1083
found . buildPath ,
0 commit comments