1
0
şunun yansıması https://github.com/beego/bee.git eşitlendi 2026-03-25 12:20:48 +00:00

minor change

Bu işleme şunda yer alıyor:
ZhengYang
2014-08-12 16:20:11 +08:00
ebeveyn 5b22b195cb
işleme 6f3d2d31ef

Dosyayı Görüntüle

@@ -198,9 +198,11 @@ func writeMigrationSourceFile(filename string, driver string, connStr string, la
func buildMigrationBinary(filename string) { func buildMigrationBinary(filename string) {
cmd := exec.Command("go", "build", "-o", filename, filename+".go") cmd := exec.Command("go", "build", "-o", filename, filename+".go")
if err := cmd.Run(); err != nil { if out, err := cmd.CombinedOutput(); err != nil {
ColorLog("[ERRO] Could not build migration binary: %s\n", err) ColorLog("[ERRO] Could not build migration binary: %s\n", err)
os.Exit(2) os.Exit(2)
} else {
ColorLog("[INFO] %s\n", string(out))
} }
} }