2
0
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:
Vjacheslav Trushkin 2022-02-21 18:06:47 +02:00 committed by GitHub
commit 659447ec37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
);