Update app.js
This commit is contained in:
parent
8808664c02
commit
057838b4c2
|
@ -156,6 +156,11 @@ function processGame(game) {
|
|||
return releases.includes(x.title);
|
||||
});
|
||||
|
||||
// If no testcases exist in the toml file, create a blank array.
|
||||
if (!model.testcases) {
|
||||
model.testcases = [];
|
||||
}
|
||||
|
||||
logger.info(`Found ${foundTestcases.length} testcases from telemetry, found ${model.testcases.length} in toml file.`);
|
||||
|
||||
model.testcases = model.testcases.concat(foundTestcases);
|
||||
|
|
Reference in New Issue