don't need progress anymore
This commit is contained in:
parent
6be58e9f1d
commit
6b5aab351d
@ -65,12 +65,6 @@ func whichLexer(path string) string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func progress(msg string) {
|
|
||||||
if os.Getenv("DEBUG") != "1" {
|
|
||||||
fmt.Fprint(os.Stderr, msg)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func debug(msg string) {
|
func debug(msg string) {
|
||||||
if os.Getenv("DEBUG") == "1" {
|
if os.Getenv("DEBUG") == "1" {
|
||||||
fmt.Fprintln(os.Stderr, msg)
|
fmt.Fprintln(os.Stderr, msg)
|
||||||
@ -105,8 +99,6 @@ func main() {
|
|||||||
<tbody>`)
|
<tbody>`)
|
||||||
|
|
||||||
for _, sourcePath := range os.Args[1:] {
|
for _, sourcePath := range os.Args[1:] {
|
||||||
progress(".")
|
|
||||||
|
|
||||||
lexer := whichLexer(sourcePath)
|
lexer := whichLexer(sourcePath)
|
||||||
lines := readLines(sourcePath)
|
lines := readLines(sourcePath)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user