Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lau Skeeter committed May 20, 2018
1 parent a66c980 commit 850ed00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules
dest/*
!dest/.gitexists
.env
.glitch-assets
.glitch-assets
.vscode
10 changes: 4 additions & 6 deletions src/make-product.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ const getEdibleName = edible =>
.replace(/_/g, ' ')
.replace(/[\d-]/g, '');

const edibles = fs
.readFileSync('./assets/words/edible-emoji.txt', 'utf8')
.txtToArr();
const edibles = txtToArr(
fs.readFileSync('./assets/words/edible-emoji.txt', 'utf8')
);

const adjs = fs
.readFileSync('./assets/words/adjectives.txt', 'utf8')
.txtToArr();
const adjs = txtToArr(fs.readFileSync('./assets/words/adjectives.txt', 'utf8'));

const make = async () => {
const name = [];
Expand Down

0 comments on commit 850ed00

Please sign in to comment.