From d1a837b11d881aa44f1bacf17a95f6e2c13b2cf0 Mon Sep 17 00:00:00 2001 From: Nathaniel Walser Date: Sat, 30 Sep 2023 21:30:25 +0200 Subject: [PATCH] fixed linting error and removed value from .env file --- .env | 2 +- app/lib/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 52314824..beb35b3d 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -CONFIG_DIRECTORY="C:\Users\Nathaniel Walser\Desktop\tabby" \ No newline at end of file +# CONFIG_DIRECTORY="CONFIG_FILE_PATH" \ No newline at end of file diff --git a/app/lib/config.ts b/app/lib/config.ts index 9dd5c729..150c7d48 100644 --- a/app/lib/config.ts +++ b/app/lib/config.ts @@ -30,4 +30,4 @@ export function loadConfig (): any { export async function saveConfig (content: string): Promise { await writeFile(configPath, content, { encoding: 'utf8' }) await writeFile(configPath + '.backup', content, { encoding: 'utf8' }) -} \ No newline at end of file +}