Commit 0ec8004c authored by Björn Bartels's avatar Björn Bartels

PATLAB-2 removed useless self-assignment.

parent 32363f7a
......@@ -64,7 +64,7 @@ module.exports = function(outFile, cb) {
}
// Re-order search results based on search config
results = results.sort(function(a, b) {
results.sort(function(a, b) {
return this.searchOptions.sort.indexOf(a.type) - this.searchOptions.sort.indexOf(b.type);
}.bind(this));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment