citra-emu
/
citra-web
Archived
1
0
Fork 0

Update app.js

This commit is contained in:
Flame Sage 2018-02-10 16:40:47 +00:00 committed by GitHub
parent 8808664c02
commit 057838b4c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -156,6 +156,11 @@ function processGame(game) {
return releases.includes(x.title); 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.`); logger.info(`Found ${foundTestcases.length} testcases from telemetry, found ${model.testcases.length} in toml file.`);
model.testcases = model.testcases.concat(foundTestcases); model.testcases = model.testcases.concat(foundTestcases);