Skip to content

Commit

Permalink
Fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Mar 20, 2023
1 parent 414bbcb commit 86c1481
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/notebooks/controllers/remoteSwitcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export class RemoteSwitcher implements IExtensionSyncActivationService {
!uri || !uri.isValidated || uri.uri === Settings.JupyterServerLocalLaunch
? DataScience.jupyterNativeNotebookUriStatusLabelForLocal
: DataScience.jupyterNativeNotebookUriStatusLabelForRemote;
const tooltipSuffix = uri?.uri === Settings.JupyterServerLocalLaunch ? '' : ` (${uri?.displayName ?? uri?.uri})`;
const tooltipSuffix =
uri?.uri === Settings.JupyterServerLocalLaunch ? '' : ` (${uri?.displayName ?? uri?.uri})`;
const tooltip = `${DataScience.specifyLocalOrRemoteJupyterServerForConnections}${tooltipSuffix}`;
this.statusBarItem.text = `$(debug-disconnect) ${label}`;
this.statusBarItem.tooltip = tooltip;
Expand Down

0 comments on commit 86c1481

Please sign in to comment.