Improved behavior for accepting EULA. (#12453)

* working version of overloading "select" button

* promptForEula to use showErrorMessage

* make parameter optional in promptForEula

* remove test code

* PR feedback

* eula to EULA

* minor fix
This commit is contained in:
Arvind Ranasaria
2020-09-23 18:36:11 -07:00
committed by GitHub
parent 807a4ae8c4
commit f47c5dcc75
8 changed files with 82 additions and 35 deletions

View File

@@ -60,6 +60,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<azdata
return {
isEulaAccepted: () => !!context.globalState.get<boolean>(constants.eulaAccepted),
promptForEula: (onError: boolean = true): Promise<boolean> => promptForEula(context.globalState, true /* userRequested */, onError),
azdata: {
arc: {
dc: {