mirror of
https://github.com/iconify/iconify.git
synced 2025-01-05 23:10:40 +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()
|
.trim()
|
||||||
.replace(/\r/g, '')
|
.replace(/\r/g, '')
|
||||||
.split('\n\n');
|
.split('\n\n');
|
||||||
if (svelteParts.lenght < 2) {
|
if (svelteParts.length < 2) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
'Error parsing svelte.d.ts. Imports and content should be separated by 2 new lines'
|
'Error parsing svelte.d.ts. Imports and content should be separated by 2 new lines'
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user