ci(core): Load config schema after process.env has been overwritten (no-changelog) (#7550)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-11-07 15:58:28 +01:00
committed by GitHub
parent 60314248f4
commit f0fc5b16d3
7 changed files with 25 additions and 18 deletions

View File

@@ -16,11 +16,14 @@ type Settings = ReadOnlySettings & WritableSettings;
@Service()
export class InstanceSettings {
readonly userHome = this.getUserHome();
private readonly userHome = this.getUserHome();
/** The path to the n8n folder in which all n8n related data gets saved */
readonly n8nFolder = path.join(this.userHome, '.n8n');
/** The path to the folder where all generated static assets are copied to */
readonly staticCacheDir = path.join(this.userHome, '.cache/n8n/public');
/** The path to the folder containing custom nodes and credentials */
readonly customExtensionDir = path.join(this.n8nFolder, 'custom');