ESlint guard-for-in, no-nested-ternary

and operator-linebreak
This commit is contained in:
Peter Jaszkowiak
2017-02-18 13:28:03 -07:00
parent c4bdb72941
commit 32dc7c23ea
9 changed files with 84 additions and 62 deletions

View File

@@ -256,7 +256,7 @@ var middleware;
apiReturn[i].id = apiReturn[i].name;
apiReturn[i].installed = false;
apiReturn[i].active = false;
apiReturn[i].url = apiReturn[i].url ? apiReturn[i].url : apiReturn[i].repository ? apiReturn[i].repository.url : '';
apiReturn[i].url = apiReturn[i].url || (apiReturn[i].repository ? apiReturn[i].repository.url : '');
pluginMap[apiReturn[i].name] = apiReturn[i];
}