Skip to content

Commit

Permalink
remove print that should not be there
Browse files Browse the repository at this point in the history
  • Loading branch information
kpym committed Dec 14, 2020
1 parent 47771f4 commit 244b23d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions latex-fast-compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,8 @@ func SetParameters() {

// check if file is missing
func isFileMissing(filename string) bool {
fmt.Println("Check", filename)
info, err := os.Stat(filename)
if os.IsNotExist(err) {
fmt.Println("Missing")
return true
}
return info.IsDir()
Expand Down Expand Up @@ -378,7 +376,6 @@ func clearTeX() {

func precompile() {
if mustBuildFormat || !mustCompileAll && isFileMissing(formatName+".fmt") {
fmt.Println(mustBuildFormat, mustCompileAll, isFileMissing(formatName+".fmt"))
run("Precompile", "pdflatex", precompileOptions...)
}
}
Expand Down

0 comments on commit 244b23d

Please sign in to comment.