Skip to content

Commit 53debe9

Browse files
Append CLI path to make sure it is picked up last (#1121)
## Changes <!-- Summary of your changes that are easy to understand --> ## Tests <!-- How is this tested? -->
1 parent c121b60 commit 53debe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/databricks-vscode/src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ export async function activate(
131131
// Add the databricks binary to the PATH environment variable in terminals
132132
context.environmentVariableCollection.clear();
133133
context.environmentVariableCollection.persistent = false;
134-
context.environmentVariableCollection.prepend(
134+
context.environmentVariableCollection.append(
135135
"PATH",
136-
`${context.asAbsolutePath("./bin")}${path.delimiter}`
136+
`${path.delimiter}${context.asAbsolutePath("./bin")}`
137137
);
138138

139139
const packageMetadata = await PackageJsonUtils.getMetadata(context);

0 commit comments

Comments
 (0)