lint fix
parent
ca0dcb53d7
commit
f4859dc269
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue