From bfa591a39d837023fb3acfc5083d3d648419f130 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 19 May 2023 12:53:54 +0200 Subject: [PATCH] refactor: revert internal exports in exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/exception/OCPPError.ts | 2 +- src/exception/index.ts | 3 ++- src/exception/internal.ts | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 src/exception/internal.ts diff --git a/src/exception/OCPPError.ts b/src/exception/OCPPError.ts index c5d25ddc..35df1f50 100644 --- a/src/exception/OCPPError.ts +++ b/src/exception/OCPPError.ts @@ -1,6 +1,6 @@ // Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved. -import { BaseError } from './internal'; +import { BaseError } from './BaseError'; import { ErrorType, type IncomingRequestCommand, diff --git a/src/exception/index.ts b/src/exception/index.ts index 3d4b3f90..5e5b60ca 100644 --- a/src/exception/index.ts +++ b/src/exception/index.ts @@ -1 +1,2 @@ -export { BaseError, OCPPError } from './internal'; +export { BaseError } from './BaseError'; +export { OCPPError } from './OCPPError'; diff --git a/src/exception/internal.ts b/src/exception/internal.ts deleted file mode 100644 index 49abdfcb..00000000 --- a/src/exception/internal.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './BaseError'; -export * from './OCPPError'; -- 2.34.1