Skip to content

Commit

Permalink
fix(main): trim value
Browse files Browse the repository at this point in the history
  • Loading branch information
isuke committed Mar 8, 2018
1 parent 6ab15da commit bd2fd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const replaceTerms = (program, template, definitions, terms, callback) => {
_.forEach(terms, (term) => {
const definition = definitions[term]
const answer = answers[term]
const value = getValue(program, definition, answer, term)
const value = getValue(program, definition, answer, term).trim()

program[term] = value

Expand Down

0 comments on commit bd2fd35

Please sign in to comment.