We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f90d0 commit 4151ab9Copy full SHA for 4151ab9
1 file changed
vscode/extension/src/utilities/sqlmesh/sqlmesh.ts
@@ -390,17 +390,17 @@ export const sqlmeshLspExec = async (): Promise<
390
type: 'not_signed_in',
391
})
392
}
393
- const exists = await doesExecutableExist(sqlmeshLSP)
394
- if (!exists) {
395
- return err({
396
- type: 'sqlmesh_lsp_not_found',
397
- })
398
- }
399
const ensured = await ensureSqlmeshEnterpriseInstalled()
400
if (isErr(ensured)) {
401
return ensured
402
403
+ const exists = await doesExecutableExist(sqlmeshLSP)
+ if (!exists) {
+ return err({
+ type: 'sqlmesh_lsp_not_found',
+ })
+ }
404
const binPath = path.join(interpreterDetails.binPath!, sqlmeshLSP)
405
traceLog(`Bin path: ${binPath}`)
406
if (!fs.existsSync(binPath)) {
0 commit comments