From 05ce53dcc85ff6b9cd3731446bc77f357d8274e0 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Sun, 19 Feb 2023 19:19:36 +0800 Subject: [PATCH] opt code --- core/code/binpack.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/code/binpack.go b/core/code/binpack.go index c35e5f57..915fe784 100644 --- a/core/code/binpack.go +++ b/core/code/binpack.go @@ -16,6 +16,9 @@ import ( ) 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 arg[0] { case ice.SRC_BINPACK_GO, ice.SRC_VERSION_GO, ice.ETC_LOCAL_SHY: return