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
commit 7972a8921c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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