We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e1d7a commit 6660bf2Copy full SHA for 6660bf2
server/src/server.ts
@@ -440,7 +440,9 @@ function onMessage(msg: m.Message) {
440
} else {
441
let bscExePath1 = path.join(bscExeDir, c.bscExeReScriptPartialPath);
442
let bscExePath2 = path.join(bscExeDir, c.bscExePartialPath);
443
- let resolvedBscExePath = fs.existsSync(bscExePath1) ? bscExePath1 : bscExePath2;
+ let resolvedBscExePath = fs.existsSync(bscExePath1)
444
+ ? bscExePath1
445
+ : bscExePath2;
446
// code will always be defined here, even though technically it can be undefined
447
let code = getOpenedFileContent(params.textDocument.uri);
448
let formattedResult = utils.formatUsingValidBscExePath(
0 commit comments