chore: coding style (#2120)

This commit is contained in:
Kevin Wan
2022-07-10 11:05:21 +08:00
committed by GitHub
parent 96acf1f5a6
commit 1c09db6d5d
11 changed files with 24 additions and 23 deletions

View File

@@ -254,7 +254,6 @@ func (p *Parser) storeVerificationInfo(api *Api) {
}
func (p *Parser) valid(nestedApi *Api) error {
if p.syntax != nil && nestedApi.Syntax != nil {
if p.syntax.Version.Text() != nestedApi.Syntax.Version.Text() {
syntaxToken := nestedApi.Syntax.Syntax