mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-07-21 04:47:17 +01:00
Fix the account prefix env. variable.
This commit is contained in:
+2
-2
@@ -45,9 +45,9 @@ export enum TestAccount {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getDefaultAccountName(accountType: TestAccount): string {
|
export function getDefaultAccountName(accountType: TestAccount): string {
|
||||||
const accountNamePrefix = process.env.DE_TEST_ACCOUNT_PREFIX;
|
const accountNamePrefix = process.env.DE_ACCOUNT_PREFIX;
|
||||||
if (!accountNamePrefix) {
|
if (!accountNamePrefix) {
|
||||||
throw new Error("DE_TEST_ACCOUNT_PREFIX is not set");
|
throw new Error("DE_ACCOUNT_PREFIX is not set");
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (accountType) {
|
switch (accountType) {
|
||||||
|
|||||||
Reference in New Issue
Block a user