From 2ce1451a9f3fa5da54609347d8a30c1d3315a987 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Mon, 3 Jul 2023 15:17:43 -0400 Subject: [PATCH] fix typo --- src/shoelace-autoloader.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shoelace-autoloader.ts b/src/shoelace-autoloader.ts index 4e04fe116..a0d66c000 100644 --- a/src/shoelace-autoloader.ts +++ b/src/shoelace-autoloader.ts @@ -45,9 +45,7 @@ function register(tagName: string): Promise { // 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}`))); }); }