From cbba7779666d40179c48248a54fbb94c362f9ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= Date: Sat, 24 Aug 2024 20:54:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20do=20not=20modify=20database=20p?= =?UTF-8?q?ath?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index 1ca1baa..643429a 100644 --- a/src/index.js +++ b/src/index.js @@ -26,10 +26,7 @@ class Client_Firebird extends Client { } if (!customConfig.connection.database) { - throw new Error('Database path is missing!') - } - if (customConfig.connection.database[0] !== '/') { - customConfig.connection.database = `/${customConfig.connection.database}` + throw new Error('Database path/alias is missing!') } super(customConfig, ...args);