diff --git a/demo/build.sh b/demo/build.sh index 88573acb..eeb1a674 100755 --- a/demo/build.sh +++ b/demo/build.sh @@ -21,11 +21,10 @@ func main() { } END - [ -f go.mod ] || go mod init + [ -f go.mod ] || go mod init ${PWD##**/} [ -f Makefile ] || cat >> Makefile <%s %s%s %s%s\n", - time.Now().Format(ICE_TIME), m.code, m.source.Name, m.target.Name, + m.time.Format(ICE_TIME), m.code, m.source.Name, m.target.Name, prefix, level, str, suffix) return m }