Merge pull request #301 from mikelorant/fix/diff-context

fix: return diff context config value
This commit is contained in:
yxxhero
2022-08-18 15:09:23 +08:00
committed by GitHub
+1 -1
View File
@@ -108,7 +108,7 @@ func (t *DiffImpl) Values() []string {
// Context returns the context
func (t *DiffImpl) Context() int {
return 0
return t.DiffOptions.Context
}
// DetailedExitCode returns the detailed exit code