Skip to content

Commit

Permalink
Rename subdirectory variables for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored Dec 23, 2024
1 parent a9f6a6a commit a4f6f43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/http-client-python/eng/scripts/ci/regenerate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ async function regenerate(flags: RegenerateFlagsInput): Promise<void> {
await regenerate({ ...flags, flavor: "unbranded" });
} else {
const flagsResolved = { debug: false, flavor: flags.flavor, ...flags };
const subdirectories1 = await getSubdirectories(AZURE_HTTP_SPECS, flagsResolved);
const subdirectories2 = await getSubdirectories(HTTP_SPECS, flagsResolved);
const subdirectories = [...subdirectories1, ...subdirectories2];
const subdirectoriesForAzure = await getSubdirectories(AZURE_HTTP_SPECS, flagsResolved);
const subdirectoriesForNonAzure = await getSubdirectories(HTTP_SPECS, flagsResolved);
const subdirectories = [...subdirectoriesForAzure, ...subdirectoriesForNonAzure];
const cmdList: TspCommand[] = subdirectories.flatMap((subdirectory) =>
_getCmdList(subdirectory, flagsResolved),
);
Expand Down

0 comments on commit a4f6f43

Please sign in to comment.