Last active
December 9, 2015 03:43
-
-
Save reharik/d4b1c9d3d5d72a08f3d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var result = R.concat(renames.map(x=> { | |
| var clone = R.clone(dependencies.find(d=>d.name == x.name)); | |
| clone.name = x.newName; | |
| return clone; | |
| }), dependencies); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment