style: apply code formatting and linting fixes
- Remove unnecessary blank lines and improve spacing - Fix linting warnings (remove redundant nil checks) - Standardize indentation and formatting - No functional changes, only style improvements
This commit is contained in:
@@ -117,7 +117,6 @@ func getLineRangesFromDiff(file string, staged bool) ([]LineRange, error) {
|
||||
output, err := cmd.Output()
|
||||
if err != nil {
|
||||
|
||||
|
||||
return []LineRange{}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user