Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Shallow Copy #17

Merged
merged 2 commits into from Apr 20, 2015
Merged

Fixed Shallow Copy #17

merged 2 commits into from Apr 20, 2015

Conversation

ashoksahoo
Copy link
Contributor

Fixed issue #16 by changing shallow copy to deep copy.

@isabo
Copy link

isabo commented Apr 20, 2015

IMHO a more intuitive explanation is: "Modify a private copy of msgPath instead of the original, which should be treated as a constant."

i.e. the original code does not do a shallow copy -- it doesn't copy the object at all!

@pvela
Copy link
Contributor

pvela commented Apr 20, 2015

Thanks for pointing out the problem and the pull request.

pvela added a commit that referenced this pull request Apr 20, 2015
@pvela pvela merged commit eae1dc7 into Vonage:master Apr 20, 2015
@ashoksahoo
Copy link
Contributor Author

It will get updated to npm automatically or it takes a while?

@pvela
Copy link
Contributor

pvela commented Apr 20, 2015

Its updated in NPM now. This issue existed in other functions as well, fixed all of them. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants