use gofmt tool
This commit is contained in:
parent
0eddaf3c2c
commit
23abb4c310
@ -73,7 +73,7 @@ func cachedPygmentize(lex string, src string) string {
|
|||||||
|
|
||||||
bin, err := exec.Command("which", "pygmentize").Output()
|
bin, err := exec.Command("which", "pygmentize").Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Please install Pygments and ensure pygmentize is in your path first.")
|
fmt.Println("Please install Pygments and ensure pygmentize is in your path first.")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
cachePath := cacheDir + "/pygmentize-" + strings.Join(arg, "-") + "-" + sha1Sum(src)
|
cachePath := cacheDir + "/pygmentize-" + strings.Join(arg, "-") + "-" + sha1Sum(src)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user