aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRabsRincon <rubrinbla@gmail.com>2017-12-08 17:21:58 +0100
committerRabsRincon <rubrinbla@gmail.com>2017-12-08 17:21:58 +0100
commit030cffffffd2cf1487f9282719c3f38edaa19f62 (patch)
treed63a9ba425c71af234e948a11fb08c845b360a79
parent9aed176b14bc4d1db5fe29540206a9cbdbdab384 (diff)
downloadcompiler-explorer-030cffffffd2cf1487f9282719c3f38edaa19f62.tar.gz
compiler-explorer-030cffffffd2cf1487f9282719c3f38edaa19f62.zip
Increase the style points of our filtering
Sorry, I had to do this
-rwxr-xr-xapp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 9c1d16a5d..1c9b7346c 100755
--- a/app.js
+++ b/app.js
@@ -467,7 +467,7 @@ function findCompilers() {
return compilerPropsL(langId, "group." + groupName + "." + propName, parentProps(langId, propName, def));
};
- const compilerExes = props(langId, 'compilers', '').split(":").filter(x=>x);
+ const compilerExes = props(langId, 'compilers', '').split(":").filter(_.identity);
logger.debug("Processing compilers from group " + groupName);
return Promise.all(compilerExes.map(function (compiler) {
return recurseGetCompilers(langId, compiler, props);