1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 05:39:42 +02:00

Removed debug and cleaned up commits table

This commit is contained in:
EnesAlili 2016-09-29 14:43:50 +01:00
parent 8d3033cc11
commit 26a548598b
3 changed files with 7 additions and 7 deletions

View file

@ -15,7 +15,7 @@ import (
"bytes"
"encoding/json"
"errors"
"fmt"
//"fmt"
"html/template"
"io/ioutil"
"net/http"
@ -236,9 +236,9 @@ func (p *Provider) Render(ctx *provider.Context, config, data string) string {
if err != nil {
log.Error("github render template.Parse error:", err)
for k, v := range strings.Split(rep.template, "\n") {
fmt.Println("DEBUG", k+1, v)
}
//for k, v := range strings.Split(rep.template, "\n") {
// fmt.Println("DEBUG", k+1, v)
//}
return "Documize internal github template.Parse error: " + err.Error()
}