We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab4df0f commit c5d3bdbCopy full SHA for c5d3bdb
1 file changed
vscode/extension/src/utilities/sqlmesh/sqlmesh.ts
@@ -126,8 +126,17 @@ export const installSqlmeshEnterprise = async (
126
if (isErr(tcloudBin)) {
127
return tcloudBin
128
}
129
+ const projectRoot = await getProjectRoot()
130
+ const resolvedPath = resolveProjectPath(projectRoot)
131
+ if (isErr(resolvedPath)) {
132
+ return err({
133
+ type: 'generic',
134
+ message: resolvedPath.error,
135
+ })
136
+ }
137
const called = await execAsync(tcloudBin.value, ['install_sqlmesh'], {
138
signal: abortController.signal,
139
+ cwd: resolvedPath.value,
140
})
141
if (called.exitCode !== 0) {
142
return err({
0 commit comments