Skip to content

Commit

Permalink
Merge pull request #6809 from JamiKX1/issue_5836_from_release1.8
Browse files Browse the repository at this point in the history
feat: 社区版质量红线支持CodeCC和三方插件 #5836
  • Loading branch information
irwinsun authored May 23, 2022
2 parents 74c0035 + 693b5aa commit 30d79a2
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 81 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ object CodeccUtils {

const val BK_CI_CODECC_V3_ATOM = "CodeccCheckAtomDebug"

const val BK_CI_CODECC_V2_ATOM = "CodeccCheckAtom"

fun isCodeccAtom(atomName: String?): Boolean {
return isCodeccNewAtom(atomName) || isCodeccV1Atom(atomName)
}
Expand All @@ -52,7 +50,7 @@ object CodeccUtils {
}

fun isCodeccV2Atom(atomName: String?): Boolean {
return atomName.equals(BK_CI_CODECC_V2_ATOM, ignoreCase = true)
return atomName == "CodeccCheckAtom"
}

fun isCodeccV3Atom(atomName: String?): Boolean {
Expand Down
Loading

0 comments on commit 30d79a2

Please sign in to comment.