Navigation Menu

Skip to content

Commit

Permalink
Ignore blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 9, 2012
1 parent d35ae63 commit be91c50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/gcs-configure-text-options
Expand Up @@ -60,6 +60,7 @@ if (commandLine.options.printStems) {
var synonymsCSV = fs.readFileSync(synonymsFile, 'UTF-8');
var synonyms = {};
synonymsCSV.split('\n').forEach(function(synonym) {
if (!synonym) return;
var terms = synonym.split(',');
var key = terms.shift();
var previousTerms = synonyms[key] || [];
Expand Down

0 comments on commit be91c50

Please sign in to comment.