Skip to content

Commit 3cf5920

Browse files
committed
fix build.go
1 parent b13349c commit 3cf5920

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

server/build.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ func main() {
1717
if err != nil {
1818
log.Panicln(err)
1919
}
20-
//frontendCmd := exec.Command("npm", "run", "build")
21-
//log.Println("build frontend...")
22-
//err = frontendCmd.Run()
23-
//if err != nil {
24-
// log.Panicln(err)
25-
//}
20+
frontendCmd := exec.Command("npm", "run", "build")
21+
log.Println("build frontend...")
22+
err = frontendCmd.Run()
23+
if err != nil {
24+
log.Panicln(err)
25+
}
2626

2727
err = os.Chdir("../server/services")
2828
if err != nil {

0 commit comments

Comments
 (0)