Skip to content

Commit ba422c2

Browse files
style: format code with Go fmt (#209)
This commit fixes the style issues introduced in dd86fef according to the output from Go fmt. Details: None Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
1 parent dd86fef commit ba422c2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pkg/analysis/language.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,4 +313,4 @@ func GetEscapedCommentIdentifierFromPath(path string) string {
313313
default:
314314
return ""
315315
}
316-
}
316+
}

pkg/analysis/pattern_rule.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ func (r *patternCheckerImpl) OnMatch(
9898
}
9999
}
100100
raisedIssue := &Issue{
101-
Range: matchedNode.Range(),
102-
Node: matchedNode,
103-
Message: message,
101+
Range: matchedNode.Range(),
102+
Node: matchedNode,
103+
Message: message,
104104
Filepath: ana.ParseResult.FilePath,
105105
Category: r.Category(),
106106
Severity: r.Severity(),
107-
Id: &r.issueId,
107+
Id: &r.issueId,
108108
}
109109

110110
filepath := ana.ParseResult.FilePath

0 commit comments

Comments
 (0)