import * as fs from 'fs'; export const tmpFilesFolder: string = process.env.QSDT_TMP || __dirname + "/../tmp/"; let config = process.env.QSDT_CONFIG; if (config != null && !fs.existsSync(config)) { console.log(`QSDT_CONFIG env path does not exists('${config}')`); console.log('If you are using a Docker Image, run it mounting this filesystem with your own configuration by adding this arg to the run command:'); console.log(`-v :${config}`); config = __dirname + "/../config/"; console.log(`fallbacking to sample configuration '${config}'`); } else if (config == null) { config = __dirname + "/../config/"; } export const configurationsFolder: string = config;