Skip to content

Commit

Permalink
fix: trim git url (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley authored May 30, 2024
1 parent f1f6db5 commit 5f1acd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/cli/artifacts/compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5f1acd5

Please sign in to comment.