Skip to content

Commit

Permalink
❤️ report by stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
budougumi0617 committed Feb 2, 2021
1 parent 68a1164 commit 87d7b38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nrseg.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ func (n *nrseg) reportf(filename string, fs *token.FileSet, pos token.Pos, fd *a
}

if len(rcv) != 0 {
fmt.Fprintf(n.errStream, "%s:%d:1: %s.%s no insert segment\n", filename, fs.File(pos).Line(pos), rcv, fd.Name.Name)
fmt.Fprintf(n.outStream, "%s:%d:1: %s.%s no insert segment\n", filename, fs.File(pos).Line(pos), rcv, fd.Name.Name)
return
}
fmt.Fprintf(n.errStream, "%s:%d:1: %s no insert segment\n", filename, fs.File(pos).Line(pos), fd.Name.Name)
fmt.Fprintf(n.outStream, "%s:%d:1: %s no insert segment\n", filename, fs.File(pos).Line(pos), fd.Name.Name)
}

// Run is entry point.
Expand Down

0 comments on commit 87d7b38

Please sign in to comment.