File tree Expand file tree Collapse file tree
vscode/extension/src/utilities/sqlmesh Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export const getTcloudBin = async (): Promise<Result<SqlmeshExecInfo, ErrorType>
8383 ...envVariables . value ,
8484 PYTHONPATH : interpreterDetails . path [ 0 ] ,
8585 VIRTUAL_ENV : path . dirname ( interpreterDetails . binPath ! ) ,
86- PATH : interpreterDetails . binPath ! ,
86+ PATH : ` ${ interpreterDetails . binPath ! } ${ path . delimiter } ${ process . env . PATH || '' } ` ,
8787 } ,
8888 args : [ ] ,
8989 } )
@@ -308,7 +308,7 @@ export const sqlmeshExec = async (): Promise<
308308 ...envVariables . value ,
309309 PYTHONPATH : interpreterDetails . path ?. [ 0 ] ,
310310 VIRTUAL_ENV : path . dirname ( path . dirname ( interpreterDetails . binPath ! ) ) , // binPath now points to bin dir
311- PATH : interpreterDetails . binPath ! ,
311+ PATH : ` ${ interpreterDetails . binPath ! } ${ path . delimiter } ${ process . env . PATH || '' } ` ,
312312 } ,
313313 args : [ ] ,
314314 } )
@@ -461,7 +461,7 @@ export const sqlmeshLspExec = async (): Promise<
461461 env : {
462462 PYTHONPATH : interpreterDetails . path ?. [ 0 ] ,
463463 VIRTUAL_ENV : path . dirname ( path . dirname ( interpreterDetails . binPath ! ) ) , // binPath now points to bin dir
464- PATH : interpreterDetails . binPath ! , // binPath already points to the bin directory
464+ PATH : ` ${ interpreterDetails . binPath ! } ${ path . delimiter } ${ process . env . PATH || '' } ` , // binPath already points to the bin directory
465465 ...process . env ,
466466 ...envVariables . value ,
467467 } ,
You can’t perform that action at this time.
0 commit comments