mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Add support for low-privileged user to run spark notebooks (#12883)
* Add support for low-privileged user to run spark notebooks * error * fix test
This commit is contained in:
@@ -11,7 +11,7 @@ import { JupyterServerInstallation, PythonPkgDetails } from '../../jupyter/jupyt
|
||||
import * as utils from '../../common/utils';
|
||||
import { ManagePackagesDialog } from './managePackagesDialog';
|
||||
import CodeAdapter from '../../prompts/adapter';
|
||||
import { IQuestion, confirm } from '../../prompts/question';
|
||||
import { IQuestion, QuestionTypes } from '../../prompts/question';
|
||||
import { IconPathHelper } from '../../common/iconHelper';
|
||||
|
||||
const localize = nls.loadMessageBundle();
|
||||
@@ -255,7 +255,7 @@ export class InstalledPackagesTab {
|
||||
|
||||
this.uninstallPackageButton.updateProperties({ enabled: false });
|
||||
let doUninstall = await this.prompter.promptSingle<boolean>(<IQuestion>{
|
||||
type: confirm,
|
||||
type: QuestionTypes.confirm,
|
||||
message: localize('managePackages.confirmUninstall', "Are you sure you want to uninstall the specified packages?"),
|
||||
default: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user