async getProjectProperties()

in vscode/qodana/src/core/cloud/link.ts [91:103]


    async getProjectProperties(projectId?: string, withError: boolean = true) {
        let id = projectId ? projectId : this.linkedProjectId;
        if (!id) {
            return undefined;
        }
        let projectProperties = await extensionInstance.auth?.getAuthorized()?.qodanaCloudUserApi((api) => {
            return api.getProjectProperties(id!, withError);
        });
        if (!projectProperties) {
            await this.unlinkProject();
        }
        return projectProperties;
    }