Showing 367 of 1,006 total issues
Avoid too many return
statements within this function. Open
Open
return val;
Avoid too many return
statements within this function. Open
Open
return val;
Avoid too many return
statements within this function. Open
Open
return 'passed';
Avoid too many return
statements within this function. Open
Open
if (!b.finished || !b.finished.getTime) return 1;
Avoid too many return
statements within this function. Open
Open
return ret;
Avoid too many return
statements within this function. Open
Open
return error(400, 'provider.repo_id is required');
Avoid too many return
statements within this function. Open
Open
if (job.type !== TEST_ONLY && job.deploy_exitcode !== 0) return 'failed';
Avoid too many return
statements within this function. Open
Open
return val;
Avoid too many return
statements within this function. Open
Open
return validateAgainstSchema(val, schema);
Avoid too many return
statements within this function. Open
Open
return error(400, 'Project type specified is not available; one or more required plugins is not installed');
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return {};
Avoid too many return
statements within this function. Open
Open
if ('object' !== typeof schema) return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return error(400, 'Invalid project type specified');
Avoid too many return
statements within this function. Open
Open
return ret;
Avoid too many return
statements within this function. Open
Open
if (b.status === 'running') return 1;
Avoid too many return
statements within this function. Open
Open
if (val.enum) return val.enum[0];
Avoid too many return
statements within this function. Open
Open
return defaultVal(val.type);
Avoid too many return
statements within this function. Open
Open
return data(test, params, req, function(err, data) {
if (err) return res.send(`Failed to load data: ${err.message}`);
send(data);
});