mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-11 02:32:35 -05:00
Fix Notebook toolbar contributed actions (#11572)
* Fix Notebook toolbar contributed actions * Fix args * Remove unused imports
This commit is contained in:
@@ -201,9 +201,9 @@ export class JupyterController implements vscode.Disposable {
|
||||
});
|
||||
}
|
||||
|
||||
public async doManagePackages(options?: ManagePackageDialogOptions): Promise<void> {
|
||||
public async doManagePackages(options?: ManagePackageDialogOptions | vscode.Uri): Promise<void> {
|
||||
try {
|
||||
if (!options) {
|
||||
if (!options || options instanceof vscode.Uri) {
|
||||
options = {
|
||||
defaultLocation: constants.localhostName,
|
||||
defaultProviderId: LocalPipPackageManageProvider.ProviderId
|
||||
|
||||
Reference in New Issue
Block a user