From b056220033e7e945994c32709efd159014f21da8 Mon Sep 17 00:00:00 2001 From: Khiet Tam Nguyen Date: Thu, 10 Oct 2024 15:39:20 +1100 Subject: [PATCH] fix: remove fullstop from module path in error message --- src/import.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/import.ts b/src/import.ts index 72b7909..7066010 100644 --- a/src/import.ts +++ b/src/import.ts @@ -17,7 +17,7 @@ const esmImport = (modulePath: string, options: Options) => { } catch (error: any) { throw new Error(` Failed to import from: - ${modulePath}. + ${modulePath} Options: ${JSON.stringify(options)} Require error message: