From cacf655c829858a11bdf854140c83018897be5e8 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 30 May 2024 09:52:16 -0600 Subject: [PATCH] fix: trim git url --- src/commands/cli/artifacts/compare.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/cli/artifacts/compare.ts b/src/commands/cli/artifacts/compare.ts index df80d4d3..0706872d 100644 --- a/src/commands/cli/artifacts/compare.ts +++ b/src/commands/cli/artifacts/compare.ts @@ -39,6 +39,7 @@ async function getOwnerAndRepo(plugin: string): Promise<{ owner: string; repo: s ) .replace('git+https://github.com/', '') .replace('.git', '') + .trim() .split('/'); return { owner, repo }; } catch (e) {