revert some stuff

This commit is contained in:
Lynn 2019-12-25 09:11:42 -08:00
parent 9c44406c87
commit 8ac2777fb3
No known key found for this signature in database
GPG Key ID: 9E60BEE0555C367B

View File

@ -10,7 +10,6 @@ import (
"log"
"os"
"os/exec"
"runtime"
"strings"
"github.com/urfave/cli/v2"
@ -158,11 +157,7 @@ func GfmrunActionFunc(c *cli.Context) error {
return err
}
if runtime.GOOS == "windows" {
return runCmd("gfmrun.exe", "-c", fmt.Sprint(counter), "-s", filename)
} else {
return runCmd("gfmrun", "-c", fmt.Sprint(counter), "-s", filename)
}
}
func TocActionFunc(c *cli.Context) error {