Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function reviews() {
var app = APPS[currentIndex];
incrementIndex(APPS.length);
var request = gplay.reviews({
appId: app.package,
page: 0,
sort: gplay.sort.NEWEST
});
return request.then(toRuleResult(app));
}