summaryrefslogtreecommitdiff
path: root/source/github-helpers/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers/index.ts')
-rw-r--r--source/github-helpers/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/github-helpers/index.ts b/source/github-helpers/index.ts
index 28b44b05..5b08dc55 100644
--- a/source/github-helpers/index.ts
+++ b/source/github-helpers/index.ts
@@ -48,7 +48,7 @@ export const buildRepoURL = (...pathParts: Array<string | number> & {0: string})
}
}
- return [location.origin, getRepo()!.nameWithOwner, ...pathParts].join('/');
+ return [location.origin, getRepo()?.nameWithOwner, ...pathParts].join('/');
};
export const getRepoGQL = (): string => {