Skip to content

Commit a3fd0e2

Browse files
committed
fix: use actual line break in error message when auto-detect fails
1 parent a25993f commit a3fd0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/pure.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function getRenderer() {
2424
const options = renderers
2525
.map(({ required }) => ` - ${required}`)
2626
.sort((a, b) => a.localeCompare(b))
27-
.join('/n')
27+
.join('\n')
2828

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

0 commit comments

Comments
 (0)