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'm getting the following error when with diff 2.2.3, Node.js v6.2.0 (and npm 3.8.9):
[...]/node_modules/diff/lib/diff/line.js:22
linesAndNewlines = value.split(/(\n|\r\n)/);
^
TypeError: value.split is not a function
at Object.lineDiff.tokenize ([...]/node_modules/diff/lib/diff/line.js:22:32)
I'm trying to call the diffLines function with two string parameters.