Skip to content

Commit

Permalink
fix: use actual line break in error message when auto-detect fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeyper committed Jan 7, 2021
1 parent a25993f commit a3fd0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pure.ts
Expand Up @@ -24,7 +24,7 @@ function getRenderer() {
const options = renderers
.map(({ required }) => ` - ${required}`)
.sort((a, b) => a.localeCompare(b))
.join('/n')
.join('\n')

throw new Error(
`Could not auto-detect a React renderer. Are you sure you've installed one of the following\n${options}`
Expand Down

0 comments on commit a3fd0e2

Please sign in to comment.