Skip to content

Commit f933531

Browse files
authored
Update scalafmt-core to 3.8.4
1 parent 8059ffa commit f933531

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.git-blame-ignore-revs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Scala Steward: Reformat with scalafmt 3.8.4
2+
0d0a2f62957fef413d8d1a1e188e67e42308ea62

.scalafmt.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=3.8.3
1+
version=3.8.4
22
style = defaultWithAlign
33
maxColumn = 100
44
runner {

core/src/main/scala/avrohugger/input/parsers/FileInputParser.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ class FileInputParser {
141141
protocol: Protocol,
142142
importedSchemaOrProtocols: List[Either[Schema, Protocol]]
143143
) = {
144-
val imported = importedSchemaOrProtocols.flatMap(avroDef => {
144+
val imported = importedSchemaOrProtocols.flatMap { avroDef =>
145145
avroDef match {
146146
case Left(importedSchema) => List(importedSchema)
147147
case Right(importedProtocol) => importedProtocol.getTypes.asScala
148148
}
149-
})
149+
}
150150
val types = protocol.getTypes.asScala.toList
151151
val localTypes = imported.foldLeft(types) { (remaining, imported) =>
152152
remaining.filterNot(remainingType => remainingType == imported)

0 commit comments

Comments
 (0)