mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
⚡ Simplify config imports in cli package (#1840)
* ⚡ Set path alias for config * ⚡ Update config export * ⚡ Simplify config imports * ⚡ Update also additional imports * ⚡ Update path in collation migration * ⚡ Resolve aliased paths * 👕 Fix Codacy issue * 👕 Retry to fix Codacy issue Co-authored-by: Jan <janober@users.noreply.github.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import * as core from 'n8n-core';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const config = convict({
|
||||
export const config = convict({
|
||||
|
||||
database: {
|
||||
type: {
|
||||
@@ -633,4 +633,3 @@ config.validate({
|
||||
allowed: 'strict',
|
||||
});
|
||||
|
||||
export = config;
|
||||
|
||||
Reference in New Issue
Block a user