lib/gulp/model/criteria/criteria.js
Consider simplifying this complex logical expression. Open
Open
if ((isNullOrUndefined(type) && id === "id") ||
(!isNullOrUndefined(type) &&
String(type).toUpperCase() === "NAME-URL" ||
String(type).toUpperCase() === "NAME_URL" ||
String(type).toUpperCase() === "URL")