From 42f5ef5f96db4e80bec2b90b5f078a64dbea58d6 Mon Sep 17 00:00:00 2001 From: creations Date: Thu, 27 Feb 2025 12:06:41 -0500 Subject: [PATCH] update ./ to @/ relative --- src/helpers/logger.ts | 3 +-- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/helpers/logger.ts b/src/helpers/logger.ts index c21aee7..45ad968 100644 --- a/src/helpers/logger.ts +++ b/src/helpers/logger.ts @@ -1,4 +1,5 @@ import { environment } from "@config/environment"; +import { timestampToReadable } from "@helpers/char"; import type { Stats } from "fs"; import { createWriteStream, @@ -10,8 +11,6 @@ import { import { EOL } from "os"; import { basename, join } from "path"; -import { timestampToReadable } from "./char"; - class Logger { private static instance: Logger; private static log: string = join(__dirname, "../../logs"); diff --git a/src/index.ts b/src/index.ts index e187c31..7cd8048 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import { logger } from "@helpers/logger"; -import { serverHandler } from "./server"; +import { serverHandler } from "@/server"; async function main(): Promise { try {