2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 23:00:56 +00:00

Remove unnecessary non-null assertion in utils

This commit is contained in:
Vjacheslav Trushkin 2022-03-16 09:49:45 +02:00
parent 7ba7852d12
commit 91f5f8a7e4

View File

@ -29,6 +29,5 @@ export async function tryInstallPkg(name: string): Promise<void | undefined> {
});
}
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
return tasks[name]!;
return tasks[name];
}