diff options
Diffstat (limited to 'source/github-helpers/index.ts')
-rw-r--r-- | source/github-helpers/index.ts | 2 |
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 => { |