Skip to content

Commit

Permalink
undo changed behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
brandenrodgers committed Jan 15, 2025
1 parent 001438e commit 97306f9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions commands/account/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const command = 'info [account]';

type AccountInfoOptions = {
config?: string;
someNewField: number;
};

export async function handler(
Expand All @@ -27,15 +26,13 @@ export async function handler(
const { name, personalAccessKey, env } = config;
let scopeGroups: string[][] = [];

if (personalAccessKey) {
const response = await getAccessToken(
personalAccessKey,
env,
derivedAccountId
);
const response = await getAccessToken(
personalAccessKey!,
env,
derivedAccountId
);

scopeGroups = response.scopeGroups.map(s => [s]);
}
scopeGroups = response.scopeGroups.map(s => [s]);

if (name) {
logger.log(i18n(`${i18nKey}.name`, { name }));
Expand Down

0 comments on commit 97306f9

Please sign in to comment.