Commit 72d1396
committed
fix: Combine ghp_ and gho_ token validation to resolve SonarCloud duplicate code warning
- Merge identical return True statements for ghp_ and gho_ tokens
- Both token types use same length validation (>= 40)
- Resolves SonarCloud code duplication warning1 parent 2c796a0 commit 72d1396
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
| 64 | + | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
| |||
0 commit comments