diff --git a/core/code/binpack.go b/core/code/binpack.go index 915fe784..7b80d2ef 100644 --- a/core/code/binpack.go +++ b/core/code/binpack.go @@ -19,6 +19,10 @@ func _binpack_file(m *ice.Message, w io.Writer, arg ...string) { if strings.HasPrefix(arg[0], "usr/volcanos/publish/") && !strings.HasSuffix(arg[0], "/proto.js") { return } + switch path.Base(arg[0]) { + case "go.mod", "go.sum": + return + } switch arg[0] { case ice.SRC_BINPACK_GO, ice.SRC_VERSION_GO, ice.ETC_LOCAL_SHY: return