1
0
mirror of https://github.com/beego/bee.git synced 2025-06-11 08:20:39 +00:00

Fix static check

This commit is contained in:
Ming Deng
2021-05-07 21:10:49 +08:00
parent 7b3d1b5f64
commit 6b1c370fd0
4 changed files with 24 additions and 10 deletions

View File

@ -378,7 +378,6 @@ func (cw *colorWriter) Write(p []byte) (int, error) {
switch ch {
case firstCsiChar:
cw.paramStartBuf.WriteByte(ch)
break
case secondeCsiChar:
cw.paramStartBuf.WriteByte(ch)
cw.state = secondCsiCode