Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: jomasti <facedelajunk@gmail.com>
  • Loading branch information
ljharb and jomasti committed Jan 5, 2019
1 parent cb6aba0 commit c072439
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/util/propWrapper.js
Expand Up @@ -34,10 +34,11 @@ function isExactPropWrapperFunction(context, name) {
}

function formatPropWrapperFunctions(propWrapperFunctions) {
return Array.from(propWrapperFunctions).map(func => {
return Array.from(propWrapperFunctions, func => {
if (func.object && func.property) {
return `'${func.object}.${func.property}'`;
} else if (func.property) {
}
if (func.property) {
return `'${func.property}'`;
}
return `'${func}'`;
Expand Down

0 comments on commit c072439

Please sign in to comment.