Skip to content

Commit 5057c55

Browse files
committed
chore: update Command Line SDK to 22.0.0
1 parent 67f7969 commit 5057c55

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

lib/commands/pull.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,10 @@ const pullSettings = async (): Promise<void> => {
861861
projectId,
862862
);
863863

864-
localConfig.setProject(projectId, settings.projectName, settings.project);
864+
localConfig.setProject(projectId, settings.projectName);
865+
if (settings.settings) {
866+
localConfig.set("settings", settings.settings);
867+
}
865868
};
866869

867870
const pullFunctions = async ({

lib/commands/services/organization.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
parseDeprecatedWhereQuery,
66
parseFilterQuery,
77
} from "../utils/query.js";
8-
import { sdkForProject } from "../../sdks.js";
8+
import { sdkForConsole } from "../../sdks.js";
99
import {
1010
actionRunner,
1111
commandDescriptions,
@@ -20,7 +20,7 @@ let organizationClient: Organization | null = null;
2020

2121
const getOrganizationClient = async (): Promise<Organization> => {
2222
if (!organizationClient) {
23-
const sdkClient = await sdkForProject();
23+
const sdkClient = await sdkForConsole();
2424
organizationClient = new Organization(sdkClient);
2525
}
2626
return organizationClient;

0 commit comments

Comments
 (0)