Skip to content

Commit

Permalink
fix(combine): fix tofile
Browse files Browse the repository at this point in the history
Disambiguate source key
  • Loading branch information
drawnepicenter committed Jun 24, 2016
1 parent 59877f8 commit df453fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/cmds/rhymebrain_cmds/combine.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/cmds/rhymebrain_cmds/combine.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cmds/rhymebrain_cmds/combine.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ exports.handler = (argv) => {
for (let i = 0; i <= list.length - 1; i++) {
const item = list[i]
themes.labelRight(item.source, theme, item.combined)
tofile[[`source${i}`]] = item.source
tofile[[`set${i}`]] = item.source
tofile[[`portmanteau${i}`]] = item.combined
}
if (argv.o) tools.outFile(argv.o, argv.f, tofile)
Expand Down

0 comments on commit df453fa

Please sign in to comment.