Skip to content

Commit

Permalink
Bug fix: Statur bar text after changing environment (#101)
Browse files Browse the repository at this point in the history
Signed-off-by: Nok <[email protected]>
  • Loading branch information
noklam authored Sep 11, 2024
1 parent 7630d63 commit 5fa1773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# 0.2.0
- `Select Environment` actions now update the run environment instead of base.
- Modified status bar to show both environments, i.e.`base + local`, and `base` is no longer selectable.
- Fixed a minor bug where status bar showing incorrect text, i.e. it shows `prod` insteadf of `base + prod`.

# 0.1.0
- Expanded pipeline discovery to support `*pipeline*.py` patterns and improved handling of nested subdirectories.
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
const result = await selectEnvironment();
runServer(result);
if (result) {
statusBarItem.text = `$(kedro-logo)` + ' ' + result.label;
statusBarItem.text = `$(kedro-logo) base + ${result.label}`;
}
}),
registerCommand('pygls.server.executeCommand', async () => {
Expand Down

0 comments on commit 5fa1773

Please sign in to comment.