mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Don't use localized folder for azure tokens (#20559)
This commit is contained in:
@@ -8,6 +8,8 @@ export const ViewType = 'view';
|
|||||||
|
|
||||||
export const dataGridProviderId = 'azure-resources';
|
export const dataGridProviderId = 'azure-resources';
|
||||||
|
|
||||||
|
export const AzureTokenFolderName = 'Azure Accounts';
|
||||||
|
|
||||||
export enum BuiltInCommands {
|
export enum BuiltInCommands {
|
||||||
SetContext = 'setContext'
|
SetContext = 'setContext'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<azurec
|
|||||||
// Create the folder for storing the token caches
|
// Create the folder for storing the token caches
|
||||||
async function findOrMakeStoragePath() {
|
async function findOrMakeStoragePath() {
|
||||||
let defaultLogLocation = getDefaultLogLocation();
|
let defaultLogLocation = getDefaultLogLocation();
|
||||||
let storagePath = path.join(defaultLogLocation, loc.extensionName);
|
let storagePath = path.join(defaultLogLocation, constants.AzureTokenFolderName);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await fs.mkdir(defaultLogLocation, { recursive: true });
|
await fs.mkdir(defaultLogLocation, { recursive: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user