Skip to content

Commit e04b644

Browse files
committed
处理 build.gradle 中使用 switch 语句发生 case 穿透警告的问题
1 parent 8e2d40d commit e04b644

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎build.gradle‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ void loadAppConfig() {
6262

6363
switch(serverType) {
6464
case serverTypeTest:
65+
// fallthrough
6566
case serverTypePreview:
6667
LOG_ENABLE = true
6768
BUGLY_ID = "请自行替换 Bugly 上面的 AppId"

0 commit comments

Comments
 (0)