dependency management | fixing dev mode

This commit is contained in:
Christian Kellner
2022-03-09 14:28:13 +01:00
parent a6e6656882
commit 946b70003f
5 changed files with 1155 additions and 1265 deletions

View File

@@ -1,16 +1,3 @@
require('dotenv').config();
/********OPTIONAL INSTANA INITIALIZATION BEGIN********/
//if you want to use Instana to monitor fredy, go to https://www.instana.com and
// try it yourself by signing up for a free trial
const { INSTANA_MONITORING } = process.env;
if (INSTANA_MONITORING != null && INSTANA_MONITORING === 'true') {
/* eslint-disable no-console */
console.debug('Starting Instana monitoring');
/* eslint-enable no-console */
require('@instana/collector')();
}
/********OPTIONAL INSTANA INITIALIZATION END********/
const fs = require('fs');
//if db folder does not exist, ensure to create it before loading anything else