Skip to content

Commit 1ccdb1f

Browse files
committed
💄
1 parent df8fffc commit 1ccdb1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/publicApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export function rawWorkspaceToWorkspaceData(rawWorkspaces: Workspace | Workspace
342342
// TODO: remove this once public api is fixed, ref https://github.com/gitpod-io/gitpod/pull/18292
343343
function getNormalizedURL(contextUrl: string | undefined): string | undefined {
344344
if (!contextUrl) {
345-
return
345+
return;
346346
}
347347

348348
const idx = contextUrl.search(/http[s]?:\/\//);
@@ -357,5 +357,5 @@ function getNormalizedURL(contextUrl: string | undefined): string | undefined {
357357
} catch {
358358
}
359359

360-
return undefined
360+
return;
361361
}

0 commit comments

Comments
 (0)