Skip to content

Commit a9ffe0a

Browse files
committed
Use lodash.map wrapper instead of native [].map
1 parent a36a89c commit a9ffe0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/imitate/create-imitation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default (original, names) => {
1111
return original
1212
} else {
1313
// TODO: this will become src/function/create and include parent reference instead of name joining here
14-
return tdFunction(names.map(String).join('') || '(anonymous function)')
14+
return tdFunction(_.map(names, String).join('') || '(anonymous function)')
1515
}
1616
} else {
1717
return _.clone(original)

0 commit comments

Comments
 (0)