ソースを参照

diff: remove misaligned space

ᴜɴᴋɴᴡᴏɴ 5 年 前
コミット
bebaf4c112
2 ファイル変更13 行追加14 行削除
  1. 13 13
      internal/assets/templates/templates_gen.go
  2. 0 1
      internal/gitutil/diff.go

ファイルの差分が大きいため隠しています
+ 13 - 13
internal/assets/templates/templates_gen.go


+ 0 - 1
internal/gitutil/diff.go

@@ -84,7 +84,6 @@ func diffsToHTML(diffs []diffmatchpatch.Diff, lineType git.DiffLineType) templat
 	case git.DiffLineDelete:
 		buf.WriteByte('-')
 	}
-	buf.WriteByte(' ')
 
 	const (
 		addedCodePrefix   = `<span class="added-code">`