Skip to content

Commit 6eb8f2f

Browse files
committed
await isSignedIn()
1 parent f692fe0 commit 6eb8f2f

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

core/config/yaml/loadYaml.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ import { GlobalContext } from "../../util/GlobalContext";
4141
import { modifyAnyConfigWithSharedConfig } from "../sharedConfig";
4242

4343
import { getControlPlaneEnvSync } from "../../control-plane/env";
44-
import { logger } from "../../util/logger";
4544
import { getCleanUriPath } from "../../util/uri";
4645
import { getAllDotContinueYamlFiles } from "../loadLocalAssistants";
4746
import { LocalPlatformClient } from "./LocalPlatformClient";
@@ -115,9 +114,9 @@ async function loadConfigYaml(options: {
115114
? dirname(getCleanUriPath(packageIdentifier.filePath))
116115
: undefined;
117116

118-
logger.info(
119-
`Loading config.yaml from ${JSON.stringify(packageIdentifier)} with root path ${rootPath}`,
120-
);
117+
// logger.info(
118+
// `Loading config.yaml from ${JSON.stringify(packageIdentifier)} with root path ${rootPath}`,
119+
// );
121120

122121
let config =
123122
overrideConfigYaml ??

core/control-plane/client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class ControlPlaneClient {
3838
fqsns: FQSN[],
3939
orgScopeId: string | null,
4040
): Promise<(SecretResult | undefined)[]> {
41-
if (!this.isSignedIn()) {
41+
if (!(await this.isSignedIn())) {
4242
return fqsns.map((fqsn) => ({
4343
found: false,
4444
fqsn,
@@ -105,7 +105,7 @@ export class ControlPlaneClient {
105105
rawYaml: string;
106106
}[]
107107
> {
108-
if (!this.isSignedIn()) {
108+
if (!(await this.isSignedIn())) {
109109
return [];
110110
}
111111

@@ -124,7 +124,7 @@ export class ControlPlaneClient {
124124
}
125125

126126
public async listOrganizations(): Promise<Array<OrganizationDescription>> {
127-
if (!this.isSignedIn()) {
127+
if (!(await this.isSignedIn())) {
128128
return [];
129129
}
130130

@@ -142,7 +142,7 @@ export class ControlPlaneClient {
142142
public async listAssistantFullSlugs(
143143
organizationId: string | null,
144144
): Promise<FullSlug[] | null> {
145-
if (!this.isSignedIn()) {
145+
if (!(await this.isSignedIn())) {
146146
return null;
147147
}
148148

extensions/vscode/package-lock.json

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "continue",
33
"icon": "media/icon.png",
44
"author": "Continue Dev, Inc",
5-
"version": "1.1.36",
5+
"version": "1.1.37",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/continuedev/continue"

gui/package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)