Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎src/pure.ts

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /