Skip to content

Commit

Permalink
Merge pull request GSA#265 from GSA/terms-indexing-fix
Browse files Browse the repository at this point in the history
Removed the usage of toLowerCase. It is not needed
  • Loading branch information
Froilan Irizarry authored Sep 19, 2018
2 parents c7511f9 + 94100f2 commit 01b18a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion services/indexer/term/repo_term_loader_stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class RepoTermLoaderStream extends Transform {
this.logger.debug(`Loading terms from repo (${repo.repoID})...`);

const _loadTerm = (termType, termVal) => {
termVal = termVal.toLowerCase();
if (this.terms[termType][termVal] === undefined) {
this.terms[termType][termVal] = 1;
} else {
Expand Down

0 comments on commit 01b18a8

Please sign in to comment.