fix empty last line bug

This commit is contained in:
AJ ONeal 2014-07-20 23:30:48 -06:00
parent f6f469cef7
commit 73397726ab
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ var fs = require('fs')
, id
;
animalsMaster = fs.readFileSync(animalsFile, 'utf8').split('\n');
adjectivesMaster = fs.readFileSync(adjectivesFile, 'utf8').split('\n');
animalsMaster = fs.readFileSync(animalsFile, 'utf8').trim().split('\n');
adjectivesMaster = fs.readFileSync(adjectivesFile, 'utf8').trim().split('\n');
function genNumbers() {
numbers.push(0);