pull/1429/head
Cory LaViska 2023-07-03 15:17:43 -04:00
rodzic 2d1badba96
commit 2ce1451a9f
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -45,9 +45,7 @@ function register(tagName: string): Promise<void> {
// Register it
return new Promise((resolve, reject) => {
import(path)
.then(() => resolve())
.catch(() => reject(new Error(`Unable to automatically load<${tagName}> from ${path}`)));
import(path).then(() => resolve()).catch(() => reject(new Error(`Unable to autoload <${tagName}> from ${path}`)));
});
}