Skip to content

Commit c948643

Browse files
committed
fix: Seemingly unrelated test
1 parent c225291 commit c948643

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sync_backend_clients/gitlab_sync_backend_client.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export const createGitlabOAuth = () => {
5151
* parsing succeeded, otherwise undefined.
5252
*/
5353
export const gitLabProjectIdFromURL = (projectURL) => {
54+
if (!projectURL) return;
55+
5456
if (!projectURL.includes('://')) {
5557
// URL() class requires protocol.
5658
projectURL = `https://${projectURL}`;

0 commit comments

Comments
 (0)