Skip to content

Commit

Permalink
Updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lfades committed Jan 23, 2020
1 parent 6912214 commit a7fe741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-next-app/create-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export async function createApp({
if (repoUrl) {
if (repoUrl.origin !== 'https://github.com') {
console.error(
`Only GitHub repositories are supported when using an URL ${chalk.red(
`Invalid URL: ${chalk.red(
`"${example}"`
)}. Please use a GitHub URL and try again.`
)}. Only GitHub repositories are supported. Please use a GitHub URL and try again.`
)
process.exit(1)
}
Expand Down

0 comments on commit a7fe741

Please sign in to comment.