We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a9df41 commit 97b6175Copy full SHA for 97b6175
src/patch/create.js
@@ -4,7 +4,7 @@ export function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHea
4
if (!options) {
5
options = {};
6
}
7
- if (!options.context) {
+ if (typeof options.context === 'undefined') {
8
options.context = 4;
9
10
0 commit comments