We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d610999 commit 966c718Copy full SHA for 966c718
1 file changed
src/features/analysis/github/github.ts
@@ -48,7 +48,7 @@ function parseRepoUrl(repoUrl: string) {
48
const slug = extractSlug(repoUrl)
49
const [owner, repo] = slug.split('/')
50
if (!owner || !repo) {
51
- throw new Error(`Error parsing repo url ${repoUrl}}`)
+ throw new Error(`Error parsing repo url ${repoUrl}`)
52
}
53
return { owner, repo }
54
@@ -111,7 +111,7 @@ export async function downloadRepo(
111
debug('GH zipball request failed %s %s', response.body, response.status)
112
repoSpinner.error({ text: '💾 Repo download failed' })
113
throw new Error(
114
- `Can't access the the branch ${chalk.bold(reference)} on ${chalk.bold(
+ `Can't access the branch ${chalk.bold(reference)} on ${chalk.bold(
115
repoUrl
116
)} make sure it exits.`
117
)
0 commit comments