Showing 2 of 20 total issues
Function createConfigFile
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createConfigFile(array) {
var proxyconf = "";
array.forEach(prox => {
proxyconf += `
location ${prox.fields.origine} {
Function execQuery
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function execQuery(req, res, next) {
typeof req.params.id !== 'string' ? id = 1 : id = parseInt(req.params.id, 10);
// Get the article list
index.listArticles({