Skip to content

Commit b663d21

Browse files
authored
fix: Add default value to scanType attribute of Pattern object [TAROT-2627]
1 parent c81bdb9 commit b663d21

File tree

1 file changed

+1
-1
lines changed
  • codacy-plugins-api/src/main/scala/com/codacy/plugins/api/results

1 file changed

+1
-1
lines changed

codacy-plugins-api/src/main/scala/com/codacy/plugins/api/results/Pattern.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ object Pattern {
3232
level: Result.Level,
3333
category: Category,
3434
subcategory: Option[Subcategory],
35-
scanType: Option[ScanType],
35+
scanType: Option[ScanType] = Option.empty,
3636
parameters: Set[Parameter.Specification] = Set.empty,
3737
languages: Set[Language] = Set.empty,
3838
enabled: Boolean = false) {

0 commit comments

Comments
 (0)