revert some stuff
This commit is contained in:
parent
9c44406c87
commit
8ac2777fb3
5
build.go
5
build.go
@ -10,7 +10,6 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"runtime"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
@ -158,11 +157,7 @@ func GfmrunActionFunc(c *cli.Context) error {
|
|||||||
return err
|
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)
|
return runCmd("gfmrun", "-c", fmt.Sprint(counter), "-s", filename)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TocActionFunc(c *cli.Context) error {
|
func TocActionFunc(c *cli.Context) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user