We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 867c9e1 commit 8e5f90cCopy full SHA for 8e5f90c
packages/vscode-extension/src/scopes.ts
@@ -30,7 +30,7 @@ export type ScopeClassification =
30
type Api = {
31
title: string;
32
version: string | number | null;
33
- documentationLink: string;
+ documentationLink?: string;
34
};
35
36
type Scope = {
@@ -41,8 +41,8 @@ type Scope = {
41
42
export const SCOPES = new Map<string, Scope>();
43
44
-for (const { title, version, documentationLink, scopes } of GOOGLE_APIS) {
45
- for (const { id, description } of scopes) {
+for (const { title, version, documentationLink, scopes } of GOOGLE_APIS || []) {
+ for (const { id, description } of scopes || []) {
46
console.log(
47
`Processing scope: ${id} - ${description} (${title} v${version})`,
48
);
0 commit comments