From e63b15e430dfebebd95dd8a08089900a487096c5 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 10 Sep 2024 12:48:40 +0200 Subject: [PATCH] nit workspace add --- cli/workspace.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/workspace.ts b/cli/workspace.ts index fdbd1fa884..1a726bbcc7 100644 --- a/cli/workspace.ts +++ b/cli/workspace.ts @@ -166,8 +166,7 @@ export async function add( // first check whether workspaceId is actually a URL try { const url = new URL(workspaceId); - workspaceId = url.username; - url.username = ""; + workspaceId = workspaceName; remote = url.toString(); } catch { // not a url