fix: sentry issue #CK

typo
This commit is contained in:
EnixCoda 2021-01-25 17:41:54 +08:00
parent bc34556a97
commit 8c53037d8f
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -96,7 +96,7 @@ export const GitHub: Platform = {
detectedBranchName = DOMHelper.getIssueTitle()
} else if (
DOMHelper.isInCodePage() &&
URLHelper.parse().type !== 'release' // resolve sentry issue #-CK
!['releases', 'tags'].includes(URLHelper.parse().type || '') // resolve sentry issue #-CK
) {
// not working well with non-branch blob
// cannot handle '/' split branch name, should not use when possibly on branch page