mirror of
https://github.com/iconify/iconify.git
synced 2024-11-09 23:00:56 +00:00
Merge pull request #113 from nberlette/patch-1
Typo fix in packages/svelte/build.js
This commit is contained in:
commit
659447ec37
@ -168,7 +168,7 @@ function cleanup() {
|
||||
.trim()
|
||||
.replace(/\r/g, '')
|
||||
.split('\n\n');
|
||||
if (svelteParts.lenght < 2) {
|
||||
if (svelteParts.length < 2) {
|
||||
throw new Error(
|
||||
'Error parsing svelte.d.ts. Imports and content should be separated by 2 new lines'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user