X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=cmd%2Fsafcm%2Fsync_changes.go;h=7ef0541fcb4809b17669c2acda6a1e0f8c357bc0;hb=267127245a6b9b0ad6475b9377f633c1aaa60f35;hp=46349116a602d1fb7e389b7b089116aabbbbd418;hpb=81f2ac475e93815f079a28d9c61b4690ca8adef4;p=safcm%2Fsafcm.git diff --git a/cmd/safcm/sync_changes.go b/cmd/safcm/sync_changes.go index 4634911..7ef0541 100644 --- a/cmd/safcm/sync_changes.go +++ b/cmd/safcm/sync_changes.go @@ -226,10 +226,6 @@ func (s *Sync) formatDiff(diff string) string { } func indentBlock(x string, sep string) string { - if x == "" { - return "" - } - lines := strings.Split(x, "\n") if lines[len(lines)-1] == "" { lines = lines[:len(lines)-1]