master
Gordon Williams 2020-06-10 08:27:26 +01:00
parent ca0dcb53d7
commit f4859dc269
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ function checkDependencies(app, uploadOptions) {
if (found)
console.log(`Found dependency in installed app '${found.id}'`);
else {
var foundApps = appJSON.filter(app=>app.type==dependency);
let foundApps = appJSON.filter(app=>app.type==dependency);
if (!foundApps.length) throw new Error(`Dependency of '${dependency}' listed, but nothing satisfies it!`);
console.log(`Apps ${foundApps.map(f=>`'${f.id}'`).join("/")} implement '${dependency}'`);
found = foundApps[0]; // choose first app in list