Skip to content

Commit 60fe995

Browse files
committed
Remove extra/unnecessary trim
1 parent d444551 commit 60fe995

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

components/gitpod-protocol/src/protocol.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,7 @@ export namespace EnvVar {
307307

308308
(imageAuth.value || "")
309309
.split(",")
310-
.map((e) =>
311-
e
312-
.trim()
313-
.split(":")
314-
.map((part) => part.trim()),
315-
)
310+
.map((e) => e.split(":").map((part) => part.trim()))
316311
.forEach((parts) => {
317312
const parsed = parse(parts);
318313
if (parsed) {

0 commit comments

Comments
 (0)