Skip to content

Commit

Permalink
fix: populatePaths codereview with guria
Browse files Browse the repository at this point in the history
  • Loading branch information
fopsdev committed Nov 10, 2016
1 parent b886cc2 commit 78a73fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cerebral/src/operators/helpers/populatePath.js
Expand Up @@ -9,6 +9,6 @@ export default function populatePath (context, strings, values) {
return currentPath + string + valueTemplate(context).toValue()
}

return currentPath + string + (valueTemplate ? valueTemplate : '')
return currentPath + string + (valueTemplate || '')
}, '')
}

0 comments on commit 78a73fb

Please sign in to comment.