mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-01 02:13:02 +00:00
merge: fix env variable type (!592)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/592 Approved-by: Marie <marie@kaifa.ch> Approved-by: Tess K <me@thvxl.se>
This commit is contained in:
commit
f33aedfc9f
1 changed files with 2 additions and 2 deletions
|
@ -229,7 +229,7 @@ export function loadConfig(): Config {
|
||||||
if (configFiles.length === 0
|
if (configFiles.length === 0
|
||||||
&& !process.env['MK_WARNED_ABOUT_CONFIG']) {
|
&& !process.env['MK_WARNED_ABOUT_CONFIG']) {
|
||||||
console.log('No config files loaded, check if this is intentional');
|
console.log('No config files loaded, check if this is intentional');
|
||||||
process.env['MK_WARNED_ABOUT_CONFIG'] = true;
|
process.env['MK_WARNED_ABOUT_CONFIG'] = '1';
|
||||||
}
|
}
|
||||||
|
|
||||||
const config = configFiles.map(path => fs.readFileSync(path, 'utf-8'))
|
const config = configFiles.map(path => fs.readFileSync(path, 'utf-8'))
|
||||||
|
|
Loading…
Reference in a new issue