mirror of
https://github.com/iconify/iconify.git
synced 2024-12-12 21:57:50 +00:00
Typo fix in packages/svelte/build.js
Just a quick typo fix found on `packages/svelte/build.js` @ `171`: https://github.com/iconify/iconify/blob/master/packages/svelte/build.js#L171 And with the two letters in their proper places... voila: ```js if (svelteParts.length < 2) { ``` That is all for now, thanks 😁
This commit is contained in:
parent
ded43ed8fc
commit
ea8d4b8777
@ -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