1
0
mirror of https://github.com/beego/bee.git synced 2025-07-16 21:52:15 +00:00

fix: fix build faild with code check!

This commit is contained in:
qiantao
2019-03-06 09:58:33 +08:00
parent f1826c0bc3
commit 95fded2840
5 changed files with 5 additions and 5 deletions

View File

@@ -511,7 +511,7 @@ func packApp(cmd *commands.Command, args []string) int {
fmt.Fprintf(output, "\t%s%s+ go %s%s%s\n", "\x1b[32m", "\x1b[1m", strings.Join(args, " "), "\x1b[21m", "\x1b[0m")
}
execmd := exec.Command(string(cmdName), args...)
execmd := exec.Command(cmdName, args...)
execmd.Env = append(os.Environ(), envs...)
execmd.Stdout = os.Stdout
execmd.Stderr = os.Stderr