mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-08 01:28:26 -05:00
Prompt for arcdata install upon extension activation (fix) (#20167)
* Made prompt when no arcdata upon startup * Changed to NoAzureCLIArcExtError Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
@@ -5,9 +5,7 @@
|
||||
|
||||
import * as azExt from 'az-ext';
|
||||
import { IAzTool } from './az';
|
||||
import Logger from './common/logger';
|
||||
import { NoAzureCLIError } from './common/utils';
|
||||
import * as loc from './localizedConstants';
|
||||
import { AzToolService } from './services/azToolService';
|
||||
|
||||
/**
|
||||
@@ -21,7 +19,6 @@ export function validateAz(az: IAzTool | undefined) {
|
||||
|
||||
export function throwIfNoAz(localAz: IAzTool | undefined): asserts localAz {
|
||||
if (!localAz) {
|
||||
Logger.log(loc.noAzureCLI);
|
||||
throw new NoAzureCLIError();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user