You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think any operation should mutate the options object since it is owned by the client code.
Especially not so if this mutates it into an invalid state.
PS. Would be grand to have equal returned with createDiff: looksSame.createDiff(options, function(error, buffer, equal) would save some of the logic above.
The text was updated successfully, but these errors were encountered:
Snippet:
Will throw:
This happens on
looksSame.createDiff()
sincelooksSame()
mutates the options to look like this:PS. Would be grand to have equal returned with createDiff:
looksSame.createDiff(options, function(error, buffer, equal)
would save some of the logic above.The text was updated successfully, but these errors were encountered: