mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
throw error if no config is supplied
This commit is contained in:
parent
246a64bca4
commit
0db3ea8256
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function validateGroup(groups = [], featureId){
|
|||
|
||||
// Fetches the testing configuration from the cdn
|
||||
async function getTestConfig(){
|
||||
//if(!process.env.TESTING_CONFIG_URL) throw "Missing TESTING_CONFIG_URL in environment";
|
||||
if(!process.env.TESTING_CONFIG_URL) throw "Missing TESTING_CONFIG_URL in environment";
|
||||
|
||||
try{
|
||||
let config = await superagent.get(process.env.TESTING_CONFIG_URL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue