Skip to content

Commit 4229712

Browse files
committed
rename
1 parent 2e1305d commit 4229712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)